Is there any way to do mass edit in WinGrid? For example change value "Mila" to "Mike" in entire column?
No, you would have to loop through the rows and change it on each cell.
Ok. I need to edit all columns in my grid and all columns have different style as: ColumnStyle.Double, ColumnStyle.CurrencyNonNegative, ColumnStyle.IntegerPositiveWithSpin and several columns with ValueLists. I decided to put editors on top of the grid.
The problem is: what editors should be used for every column? I assume UltraNumericEditor for IntegerPositiveWithSpin, UltraDropDown for ValueLists and UltraMaskedEditor for other numeric values. What is InputMask for different ColumnStyles? Cause I don't want to have different Editors within cell and in batch edit (i.e. different number of digits after point for doubles)
I don't understand your question. What do you mean
Klimia said:I decided to put editors on top of the grid.
Abouve every column's header I placed editors like UlraMaskedEditor so user can put new value into it and whole column will be changed. I want to allow user batch editing in the grid
Oh, I see.
Well, you can determine the editor a column is using by accessing any cell in that column and checking the EditorResolved property. This is going to return an editor, though, not an editor control. So from there, you will have to translate it into the right control.