I mean Multi-Column Combox control.
Even for the example you gave me, i saw a lot of exceptions happen (see below). I am asking Is there any efficient Name2Index to check column's exisitence? otherwise, it is every expensive by your underlying check exception. thx.
catched at Syncfusion.Windows.Forms.Grid.GridRangeInfo.Parse(String parseText) in :line 0
System.FormatException: Invalid Range: DD
at Syncfusion.Windows.Forms.Grid.GridRangeInfo.ParsePart(String parseText)
at Syncfusion.Windows.Forms.Grid.GridRangeInfo.Parse(String parseText)
System.FormatException: Invalid Range: DD
at Syncfusion.Windows.Forms.Grid.GridRangeInfo.Parse(String parseText)
at Syncfusion.Windows.Forms.Grid.GridModel.NameToColIndex(String name)
catched at Syncfusion.Windows.Forms.Grid.GridModel.NameToColIndex(String name) in :line 0
-1
>Hi david,
Could you please let me know which Syncfusion control you are referring?
If you are referring gridListControl, The method this.gridListControl1.Grid.Model.NameToColIndex will return -1, if the specified column name id not existing. Please refer the sample to illustrates this:
http://www.syncfusion.com/support/user/uploads/GListControlEvent_a8efb08d.zipRegards,
Jisha