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. Image for the cookie policy date

I want to achieve a function that using a textEditbox to show a grid

I don't know how to use Syncfusion to achieve that function as when I enter infomation in a texteditbox and than a grid will be show below the textbox with the info filter by the input words.
does any one known how to make this function?


3 Replies

JJ Jisha Joy Syncfusion Team May 12, 2008 10:49 AM UTC

Hi,

Thank you for posting query to us.

This can be achieved by using RecordFilters of GridGroupingControl. Please refer the code:



string name = this.textBox1.Text;
this.gridGroupingControl1.TableDescriptor.RecordFilters.Clear();
this.gridGroupingControl1.TableDescriptor.RecordFilters.Add("Description", FilterCompareOperator.Like, name);



Please refer the sample:

Sample

Please let me know if this helps.

Regards,
Jisha



SE Sean May 19, 2008 08:57 AM UTC

Thank you for reply.one more question,I want to use a combobox to display gridlist information,when click the combobox ,a gridlist will be show in below.How can I do this? Thanks.



JJ Jisha Joy Syncfusion Team May 21, 2008 10:05 AM UTC

Hi Strife,

Thank you for your update.

Please refer the modified sample that achieves the desired behaviour.

Modified sample with ComBoBox

Please try this and let me know if this helps.

Regards,
Jisha


Loader.
Live Chat Icon For mobile
Up arrow icon