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

Setting Control Widths in Custom Popup Editor

2 Answers 277 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Reid
Top achievements
Rank 2
Reid asked on 16 May 2016, 03:50 PM

I have not been successful in setting the control widths in a custom Grid popup editor template. 

Can someone suggest how that is done?  I have added custom .css and it is not changing anything.

 

Thanks,

Reid

2 Answers, 1 is accepted

Sort by
0
Accepted
Patrick | Technical Support Engineer, Senior
Telerik team
answered on 16 May 2016, 07:26 PM
Hello Reid,

We have a great demo in our documentation on how to set the width of a custom popup edit form and the textbox inside it.  

I also created a demo in this Telerik Dojo which illustrates how to increase the width of a Kendo DropDownList in a popup editor.

In my dojo, I used the following CSS to change the width:
.k-popup-edit-form .k-edit-field > .k-dropdown{
  width: 225px;
}

I hope this helps steer you in the right direction.

Regards,
Patrick
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Reid
Top achievements
Rank 2
answered on 16 May 2016, 07:47 PM
Thank you Patrick.  That worked fine.
Tags
Grid
Asked by
Reid
Top achievements
Rank 2
Answers by
Patrick | Technical Support Engineer, Senior
Telerik team
Reid
Top achievements
Rank 2
Share this question
or