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.
Unfortunately, activation email could not send to your email. Please try again.

GridListControl case sensitivity in GDBG

Thread ID:

Created:

Updated:

Platform:

Replies:

76402 Sep 4,2008 04:30 PM Sep 10,2008 07:35 AM Windows Forms 3
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On September 4, 2008 04:30 PM

When using a GridListControl cell type, the "hookup" between the grid's data source and the data source set in the StyleInfo for the bound column seems to be case sensitive.
This is inconsistent with the "stand alone" MultiColumnComboBox which doesn't appear to be case sensitive.
Is there any way to adjust the GridBoundColumn so that the grid cell value could be, say, "XYZ" and match records in the list control data source where the value might be "xyz"?

I've derived from GridDropDownGridListControlCellModel and GridDropDownGridListControlCellRenderer in the hope that I could override FindItem and FindItemExact but I guess those are just for autocompletion.

As always, thanks for your help,
Mark



Administrator [Syncfusion]
Replied On September 4, 2008 05:47 PM

I found a post where someone else seemed to be having the same problem and there was a sample app to try. I downloaded it, made a few minor changes to it and I'm unable to reproduce the issue I'm having in my app in the sample app so it muct be a problem in my own application.
I'm just having a hard time figuring out what.

cheers,
Mark


Administrator [Syncfusion]
Replied On September 5, 2008 12:12 PM

OK, I think I got it. Posting here in case anyone else runs into this.

Our DataSource isn't a table or DataView but a class that implements IBindingList and, currently, doesn't support searching (SupportsSearching method returns false).
I guess the grid checks for SupportsSearching and just calls that IBindingList objects Find if it does.
If it doesn't (as in our case), I guess it tries to find it in a non-case sensitive way.



Nisha Arockiya A [Syncfusion]
Replied On September 10, 2008 07:35 AM

Hi Mark,

Thanks for your update. I will go ahead and close this now. Please feel free to get
back to us if you have any other concerns.
Thanks for choosing and using Syncfusion Products.

Regards,
Nisha

>OK, I think I got it. Posting here in case anyone else runs into this.

Our DataSource isn't a table or DataView but a class that implements IBindingList and, currently, doesn't support searching (SupportsSearching method returns false).
I guess the grid checks for SupportsSearching and just calls that IBindingList objects Find if it does.
If it doesn't (as in our case), I guess it tries to find it in a non-case sensitive way.





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.

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.

;