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

how do I align the filter item of ONLY A PARTICULAR COLUMN to center?

2 Answers 149 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Indranik
Top achievements
Rank 1
Indranik asked on 15 Jan 2009, 02:06 PM
how do I align the filter item of ONLY A PARTICULAR COLUMN to center of the column?

2 Answers, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 15 Jan 2009, 03:09 PM
Hi Indranik,

Attached to this message, is a small sample, demonstrating this.
I hope this helps.

Greetings,
Yavor
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Dimo
Telerik team
answered on 15 Jan 2009, 03:24 PM
Hi Indranik,

You can use the RadGrid ItemCreated event handler, check whether e.Item is a GridFilteringItem, locate the table cell using the respective column's UniqueName, which you want to tweak and set a right alignment:

Accessing cells and rows

(e is the GridItemEventArgs parameter passed to the event handler)


Regards,
Dimo
the Telerik team

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