Hi There,
I am new to Infragistics and I am trying to explore the UltraGrid and it is used in our GUI Application.
I have an UltraGrid with three columns. The first one is a Textbox which does not allows Empty / Whitespaces or duplicate values. Rest two are Dropdownlists.
We want to do Row validations, thus on selecting a value from the last dropdownlist and tabbing out of the column (which is nothing but moving to a new row), we need to throw a messagebox telling the user that first column has invalid data, if the first column has the specified invalid values.
I could not find an even that triggers the RowChanged event.
There is BeforeCellDeactivate in which we are trying to perform some validations but this will not work in the scenario specified above because it would invalidate on cell basis.
I have used AfterCellListCloseUp because the last column is a Dropdownlist, but here also it would fail if the user selects a value from the first dropdown.
The events AfterRowUpdate and AfterRowInsert fire only when the underlying dataset is updated but here, we want to do this validation when we identify that the first column contains invalid value.
I did not find any event for tabbing out of a row or when the user goes to a new row.
Please let me know if I am misinterpreting any of the available events and if there is any event I can use to get the desired behavior.
Genuine and immediate help shall be greatly appreciated.
Thanks you very much in advance.
Thanks & Regards,
Kranthi
Hi Kranthi,
Wow, you seem to have found every event but the one you needed.
BeforeRowDeactivate is not a bad choice, but this event will fire whether there are any pending changes in the row or not.
So I recommend BeforeRowUpdate.