Hello
Is there a way to check if a cell in a DataRecord exists? I have the following code:
void grid_InitializeRecord(object sender, Infragistics.Windows.DataPresenter.Events.InitializeRecordEventArgs e) { if (e.Record is DataRecord) { DataRecord dr = (DataRecord)e.Record; try { dr.Cells["No."].Value = (e.Record.Index + 1).ToString(); } catch (Exception ex) { } } }
and I want to remove the try/catch and replace it with something like
if (dr.Cells["No."].Exists) { }
Is there any way to do this?
Many thanks
Kostas.
Anyone from Infragistics can suggest a solution?
Kostas
I also need similar functionality. Please help