GridNumericColumn input width

2 posts, 0 answers
  1. Lee
    Lee avatar
    12 posts
    Member since:
    Jul 2015

    Posted 15 Oct 2015 Link to this post

    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
  2. Pavlina
    Pavlina avatar
    6187 posts

    Posted 15 Oct 2015 Link to this post


    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">

    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
Back to Top