We''re using the grid in bound mode, binding it to a standard datatable.
The issue is that we don''t want the dates in the recordset to appear with the ''down arrowed'' expanding grid control next to them.
We''ve tried converting them to strings - which fixes the issue with the expanding control however now, when they sort it (not surprisingly) does an alphanumeric sort, not a date one. I''ve tried setting up something with a customised ''iComparer''... however didn''t have much luck.
Any suggestions?? I''m hoping that there''s an easy way to just turn that expanding control off for a column.
Thanks in advance,
ADAdministrator Syncfusion Team March 2, 2004 03:49 PM
There is a static member of the GridModelDataBinder.AutoInitCellTypes that you can set to control this functionality. So, at the top of your form’s constructor, before the call to InitializeComponent(), you can add:
GridModelDataBinder.AutoInitCellTypes = False