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

Kendo ui inline textbox field width on edit mode

1 Answer 230 Views
Grid
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 11 Feb 2013, 03:27 AM
Hi Guys,

Is there any way i can decrease the width of textbox field in inline editing grid (edit mode) . Currently all the text field width is the same. Or how i can make the textfield the same size as it header. 

Thank you

1 Answer, 1 is accepted

Sort by
0
Accepted
Jayesh Goyani
Top achievements
Rank 2
answered on 12 Feb 2013, 08:54 AM
Hello,
function onGridEdit(arg) {
          
           arg.container.find("input[name=activityTemplateName]").width("50");
         
       }
.Columns(columns =>
               {
                   columns.Bound(p => p.activityTemplateName).Title("Activity Template Name");
               })
.Events(e => e.Edit("onGridEditing"))


Thanks,
Jayesh Goyani
Tags
Grid
Asked by
David
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
Share this question
or