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

Command Buttons Truncated

3 Answers 17 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Pete
Top achievements
Rank 1
Pete asked on 23 Oct 2014, 03:39 PM
I'm using a radgrid with InPlace edit.  I added the following settings to freeze column headers.
ClientSettings-Scrolling-AllowScroll="true"
ClientSettings-Scrolling-UseStaticHeaders="true"

The dynamically generated command buttons are being chopped off as shown.  I haven't been able to resolve.

Any help would be appreciated.

3 Answers, 1 is accepted

Sort by
0
Pete
Top achievements
Rank 1
answered on 23 Oct 2014, 03:43 PM
The original image didn't take in the message.  I'm attached an image file of the InPlace edit.
0
Venelin
Telerik team
answered on 28 Oct 2014, 08:09 AM
Hello Pete,

Instead of setting  AutoGenerateDeleteColumn="True" and AutoGenerateEditColumn="True" you could use this markup instead:

ASPX:

<telerik:GridEditCommandColumn></telerik:GridEditCommandColumn>
<telerik:GridClientDeleteColumn></telerik:GridClientDeleteColumn>

Then you have the full control to customize the columns to look just the way you wish, for example you can set the width (using  HeaderStyle-Width="100px") and so on.

I suggest you to remove the autogenerated columns and use the approach mentioned.

Regards,
Venelin
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Pete
Top achievements
Rank 1
answered on 29 Oct 2014, 12:38 PM
Your response solved my issue.  Thanks for the help.
Tags
Grid
Asked by
Pete
Top achievements
Rank 1
Answers by
Pete
Top achievements
Rank 1
Venelin
Telerik team
Share this question
or