Expanding GridButtonColumn Width

2 posts, 0 answers
  1. Chris
    Chris avatar
    2 posts
    Member since:
    Jan 2016

    Posted 10 May Link to this post

    Hello, I can't figure out how to set (expand) the GridButtonColumn text for my subgrid. It seems locked into the width of the default edit pencil icon for subgrids, but I've entered the text "Click to Begin" in this column instead.

    I've tried HeaderStyle-Width with no affect, and ItemStyle-Width, which threw an error as an un-unknown attribute. Any help would be much appreciated!

    Here's the template snippet:

    <telerik:GridButtonColumn HeaderStyle-Width="250px" UniqueName="btnEdit" ButtonType="LinkButton" Text="<strong>Click to Begin</strong>" CommandName="Edit" />

    I've attached a screenshot of my subgrid below.

  2. Chris
    Chris avatar
    2 posts
    Member since:
    Jan 2016

    Posted 12 May Link to this post

    Some CSS on the page fixed this:

    .rgMasterTable colgroup col:first-of-type,<br>.rgRow td:first-of-type,<br>.rgAltRow td:first-of-type{<br>                width: 125px!important;<br>}

  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top