We user infragistic V. 8.1 windows controls.
I need to add an extra column to the grid. this column shud contain the checkboxes and i need to get the event(row updated/changed event) when this checkbox checked state is changed. I do it in InitializeLayout event of the grid as below
{
dataGrid1.DisplayLayout.Bands[ 0 ].Columns[ "Paid" ].Style = Infragistics.Win.UltraWinGrid.ColumnStyle.CheckBox
dataGrid1.DisplayLayout.Bands[ 0 ].Columns[ "Paid" ].DefaultCellValue = false;
}
But the when the application runs, i see all the column with checkboxes with intermediatory checkedstate.(something like a TriStateCheckBox ) and it doesnt allow to check or uncheck the check box and hence i dont get the row or cell value changed event. I also tried setting the CellClickAction Event to EDIT and EDITANDSELECTITEM but looks no user with this.
Can you please tell where am i going wrong ?
Cheers,
arif
Sorry guys.. was working a lot and overseen the property which was set in the control
dataGrid1.DisplayLayout.Override.AllowUpdate = DefaultableBoolean.False;... now its been changed to True and it works perfectly.
Cheers Infragistics...
Arif