Hi,
I am adding a CheckBox column to my wingrid at runtime. How can I make it default to 'false' as opposed to the filled in square of 'null'? Right now I am looping through each cell and setting it to False. This is also marking the row as "edited". Does anyone know a better way? Here is my code so far:
Infragistics.Win.UltraWinGrid.UltraGridColumn completedColumn;
completedColumn.Style = Infragistics.Win.UltraWinGrid.ColumnStyle.CheckBox;
{
}
Hi Mike,
I want checkbox is check by default when ultragrid is loaded can we do setting in properties?
Do you mean activate a row or select it? It doesn't make any sense to select a row and not have any visual indication that the row is selected. But if you are talking about the active row, then this article will tell you how to turn off the highlight.
Hi Mike
when i have select any row in ultragrid then i dont want to selected row backgroung color blue what can i do for that.
Mike Its Working
Thanks a lot
My guess is that you checked the checkbox using the mouse and then you clicked on a toolbar button or some other object that doesn't take focus from the grid. The last cell you changed is therefore still in edit mode and the change has not yet been committed, so the Value property of the cell has not yet been updated with the new value.
The easiest solution to that is to call grid.UpdateData to commit all changes to the grid before you start your loop.