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

GridNumericColumn input width

1 Answer 20 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Lee
Top achievements
Rank 1
Lee asked on 15 Oct 2015, 08:30 AM
I'm using GridNumericColumn inside a batchmode edit grid. How to I set the width of the input field via markup? I tried ItemStyle-Width="100px" but it gets ignored

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 15 Oct 2015, 11:12 AM
Hi,

Instead ItemStyle-Width you should use HeadersStyle-Width property as shown below:
<telerik:GridNumericColumn DataField="UnitsInStock" HeaderStyle-Width="100px" HeaderText="Units In Stock"
                     SortExpression="UnitsInStock" UniqueName="UnitsInStock">
                 </telerik:GridNumericColumn>

Regards,
Pavlina
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
Grid
Asked by
Lee
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or