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

Custom filter row with resizing and reordering

10 Answers 169 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Sabine
Top achievements
Rank 1
Sabine asked on 08 Jul 2010, 02:31 PM
Hi,

we have changed our custom filter row to your new suggested version by using a separate row. Within your demo the reordering and resizing of columns doesn't seem to work properly. How can I achieve to reorder and resize my columns?

Thanks for any hint. 

10 Answers, 1 is accepted

Sort by
0
Yavor Georgiev
Telerik team
answered on 08 Jul 2010, 02:37 PM
Hi Sabine,

 Do you mean this demo? Resizing and reordering columns seems to work ok.

Sincerely yours,
Yavor Georgiev
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
Sabine
Top achievements
Rank 1
answered on 08 Jul 2010, 02:44 PM
Not really. Try to reorder and then to resize a column. The resizing does no really work as expected ..
0
Accepted
Yavor Georgiev
Telerik team
answered on 08 Jul 2010, 02:52 PM
Hi Sabine,

 I'm attaching the version of CustomFilterRow.cs included in our Q2 release, due next week. Please try with it.

Best wishes,
Yavor Georgiev
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
Sabine
Top achievements
Rank 1
answered on 08 Jul 2010, 03:46 PM
Thank you! The reordering and resizing works as expected :-)

Now there's still another problem. If the grid view doesn't fit into the content and a (horizontal) scrollbar is visible, the filter row doesn't scroll accordingly. It remains at the same position :-(.

Furthermore we'd like to combine it with a header context menu to hide/show the columns. By use of the "old" custom filter row we had to toggle the visibility of the corresponding column. With the new version the colum will be hidden, but the filter cell is still visible ..

Thank you again for given us any idea to solve these problems.
0
Accepted
Yavor Georgiev
Telerik team
answered on 08 Jul 2010, 05:39 PM
Hi Sabine,

 I've modified the example. I'm including the modified file here.

Sincerely yours,
Yavor Georgiev
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
Sabine
Top achievements
Rank 1
answered on 09 Jul 2010, 09:37 AM
Thanks a lot! Now it works as we need it :-)
0
Sabine
Top achievements
Rank 1
answered on 19 Jul 2010, 11:08 AM
Hi Yavor,

hope you can help me again :-) .. Is it also possible to "bind" the current filter cell to the according column when it is reordered? When the user reorders a column, the filter cell should also be dragged ..

Thank you!
Sabine
0
Yavor Georgiev
Telerik team
answered on 19 Jul 2010, 12:22 PM
Hi Sabine,

 What do you mean? Don't filter cells change their position when their column is reordered?

Sincerely yours,
Yavor Georgiev
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
Sabine
Top achievements
Rank 1
answered on 19 Jul 2010, 12:31 PM
Yes, they do as soon as you drop the column at the new position, but not during the dragging. So it's not that serious, but it would be nice if the filter element would visibly be dragged, too. Do you understand my intention? (In the previous version this was the case - because the filter elements have been part of the header cell ..)
0
Yavor Georgiev
Telerik team
answered on 19 Jul 2010, 12:48 PM
Hello Sabine,

 As the CustomFilterRow control is now totally separate from the RadGridView, I'm afraid what you ask is no longer possible. The previous version, where the filter cells were a part of the header cell itself, was suffering from the issue that the filter cells would end up in the grouping panel when a column is grouped. Should we decide the incorporate the functionality into RadGridView proper, we will add the needed visual support for different actions such as dragging and reordering.

All the best,
Yavor Georgiev
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
Tags
GridView
Asked by
Sabine
Top achievements
Rank 1
Answers by
Yavor Georgiev
Telerik team
Sabine
Top achievements
Rank 1
Share this question
or