Check column exists in gridGroupingControl

Hi, I am doing Record rec = this.gridGroupingControl.Table.CurrentRecord; In rec i want to do GetValue("ABC")..Before doing getValue I want to first check..whether this column is there are not. How can I do this..? Thanks, Prathima

2 Replies

AD Administrator Syncfusion Team August 18, 2005 10:53 AM UTC

Try checking this.gridGroupingControl1.TableDescriptor.Fields.IndexOf("ABC") > -1


PV Prathima Venkobachar August 18, 2005 11:12 AM UTC

Thanks a lot!! This works fine. Thanks, Prathima

Loader.
Up arrow icon