
Barron Whitehead
Top achievements
Rank 1
Barron Whitehead
asked on 18 Mar 2010, 02:24 PM
Greetings,
I'm trying to follow the demo at: http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandcombo/defaultcs.aspx?product=grid where I wish to create google style filtering on my datagrid. I can get the demo to run just fine, however with the datagrid I'm working with, I have various different types of filters for various columns. I only wish for the google style filtering to appear on one column.
How can I modify the demo example to create only one column to have the google style filtering, and the other columns to have various other types of filters?
Thanks!
I'm trying to follow the demo at: http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandcombo/defaultcs.aspx?product=grid where I wish to create google style filtering on my datagrid. I can get the demo to run just fine, however with the datagrid I'm working with, I have various different types of filters for various columns. I only wish for the google style filtering to appear on one column.
How can I modify the demo example to create only one column to have the google style filtering, and the other columns to have various other types of filters?
Thanks!
5 Answers, 1 is accepted
0

Barron Whitehead
Top achievements
Rank 1
answered on 18 Mar 2010, 07:28 PM
I found a post saying that it wasn't possible to do this, however I just want to verify.
0

Barron Whitehead
Top achievements
Rank 1
answered on 19 Mar 2010, 02:14 PM
bump
0
Hello Barron,
In general the demo use only MyCustomFilteringColumnCS column for all its 3 columns. In your case you can use various type of columns. If you review the code Page_Load handler is the place where columns are being created and for all column within data source same grid column is created. You can change this as per your requirements.
All the best,
Nikolay
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
In general the demo use only MyCustomFilteringColumnCS column for all its 3 columns. In your case you can use various type of columns. If you review the code Page_Load handler is the place where columns are being created and for all column within data source same grid column is created. You can change this as per your requirements.
All the best,
Nikolay
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0

Barron Whitehead
Top achievements
Rank 1
answered on 24 Mar 2010, 03:08 PM
I figured I could just add gridboundcolumns to the mastertableview in the page_load. However, a lot of my other columns have other types of filtertemplates and various filters. I'm not sure how I can add those in the page_load, and not in the mark-up. If I try to just force add a column in the page_load, the column won't stick once the dataset is bound.
0
Hello Barron,
You can use your custom columns declaratively the same you as you can use RadGrid build-in columns as well. The following demo illustrates using extended GridTemplateColumn along with build-in GridBoundColumn entirely declarative.
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/filteringtemplatecolumns/defaultcs.aspx
Best wishes,
Nikolay
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
You can use your custom columns declaratively the same you as you can use RadGrid build-in columns as well. The following demo illustrates using extended GridTemplateColumn along with build-in GridBoundColumn entirely declarative.
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/filteringtemplatecolumns/defaultcs.aspx
Best wishes,
Nikolay
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.