This is a migrated thread and some comments may be shown as answers.

Customizing the Filtering Behavior

1 Answer 54 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Brett
Top achievements
Rank 1
Brett asked on 09 Sep 2008, 02:24 AM

I have a Hierarchical Grid with one child table. I'd like to have the ability to search for an item in all of the child tables. For example the master table has purchase orders, the child table has part numbers, I want to show all the PO's that have a part number of 123.

 I stumbled on the Search on Key Press Video in the video section and it works out great. I can do the search and everything comes up how I want it to.

 The question I have, is when I added in the search option in the commandItem Template, I lost the "Add" and "Refresh" buttons at the same time. I tried looking in the documentation and didn't see much on for wiring in buttons for those options. Is there a place that I missed that I can look at?

 Also, for searching the child table, is the way I'm going about it a any good or is there a better/quicker way of doing it?

 Thanks,

 Brett

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 11 Sep 2008, 10:55 AM
Hi Brett,

In the command item template, you can add two buttons - one with "InitInsert" and the other with "RebindGrid" command names. Additional information on the different command names can be found in the following article. Additionally, the following example demonstrates the command item template in practice.
I hope this information helps.

Greetings,
Yavor
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Brett
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or