The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Hi,
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,
Damien
ADAdministrator Syncfusion Team March 2, 2004 08:49 PM UTC
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