We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Removing grid drop down box or using customer comparer.

Thread ID:

Created:

Updated:

Platform:

Replies:

11332 Mar 2,2004 08:18 PM UTC Mar 2,2004 08:49 PM UTC WinForms 1
loading
Tags: GridControl
Damien Sawyer
Asked On March 2, 2004 08:18 PM UTC

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

Administrator [Syncfusion]
Replied On 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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;