Hi All,
When I set column's style to ColumnStyleEnumeration.DoubleWithSpin and also set the maskinput to nnn.nn then degits after decimal point does not appear in the field.It either floor the value or ceil the value
how can I tackle the issue?
Yogesh
Hi Yogesh,
The first thing I would look at is the DataType of the column. Make sure it's double. It sounds to me like it might be integer.
If that doesn't help, you should Submit an incident to Infragistics Developer Support
Mike,
I have 2 more question regarding merging the cells of a particular column.
1) I have column while loading the grid I get the information about which are the consecutive cells I want to merge from that column
e.g. cell number 1,2,3 and 7,8,9 from column 2 I want to merge
how can I do this?
2) I have used UltraMaskedEdit control as an editor for the cell, now I want to put the grid in edit mode when I double click the cell.
Doing this wont allow me to edit the UltraMaskedEdit control which I have used as an editor? Particular cell never enters into edit mode
thanks,
yogeshypathak said:Thanks Mike, As you said I checked the propertiesCellClickAction = CellClickAction.CellSelect ... because I want to allow user to enter into edit mode on double click not on single click.Activation = AllowEdit. ...As i want to allow the user to Edit the information from cell. CellActivation = AllowEdit ... same as aboveare the values which I feel appropriate for the grid, but still I cannot able to edit the cell which has MaskedEditor.
Thanks Mike,
As you said I checked the properties
CellClickAction = CellClickAction.CellSelect ... because I want to allow user to enter into edit mode on double click not on single click.
Activation = AllowEdit. ...As i want to allow the user to Edit the information from cell.
CellActivation = AllowEdit ... same as above
are the values which I feel appropriate for the grid, but still I cannot able to edit the cell which has MaskedEditor.
The way you have this set up, I think the user would need to click on the cell to select it and then press F2 to enter edit mode. There is no settings in the grid to automatically go into edit mode on a double-click of a cell. You could write code to do this, of course.
yogeshypathak said:For cell merging If the values are same for given cells then It should merge.Only thing that I want is that allow user to merge which he wants to merge not force him to get the merged values which he would like to get seperately though it has same text/value in the cell.For example if cell 1,2,3 has "Hi" as their text value which is same but user wants to merge the cells 1 and 2,and also want to display the cell 3 text value seperately though it has same text as "Hi" . So at the end user will get only 1,2 as merged cells and 3 as different as he doesn't want to merge with it
For cell merging If the values are same for given cells then It should merge.Only thing that I want is that allow user to merge which he wants to merge not force him to get the merged values which he would like to get seperately though it has same text/value in the cell.
For example if cell 1,2,3 has "Hi" as their text value which is same but user wants to merge the cells 1 and 2,and also want to display the cell 3 text value seperately though it has same text as "Hi" . So at the end user will get only 1,2 as merged cells and 3 as different as he doesn't want to merge with it
There's no built-in UI for this. You might be able to create one yourself, but you would need to store something on the row or cell that indicated that it should not be merged and then write your own MergedCellEvaluator for the column to handle not merging those cells.
I have also submitted the same request to Development team of Infragistics as per your last suggestion.
1) Cell Merging only works on cells that have the same value. You cannot manually merge cells.
2) I'm not sure what your question has to do with the editor. Whether or not you can edit a grid cell is determined by the grid, not the editor. You should check properties like CellClickAction, Activation, or CellActivation. This KB article might also help point you in the right direction: HOWTO:How can I make a grid or a column, row, or cell in the UltraWinGrid disabled or read-only?