Hi Yaacov,
Question 1:how can i make the grid column width change with regrad to the data inserted to it ?
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
You would have to call the ResizeToFit each time you rebind a grid. Here is a code:
this.grid.Model.ColWidths.ResizeToFit(GridRangeInfo.Table());
Question 2:while moving the mouse over the grid or changing column border I am experiencing exception "value does not within the expected range" , I can't figure out why?
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
The error which you have mentioned, is an indication of threading issues. Are there multiple threads involved in your appilcation? If so, please check the Knowledge Base(KB) article link below.
http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=78Intermittant errors can be indications of threading issues. Any calls into the grid must be done on the thread that creates it, and you can use grid.InvokeRequired to check for this.
Here is a sample.
LoaddatainBackGroundThread.zipBest Regards,
Haneef