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

Customize grid with hierarchy "create" command with inline template.

4 Answers 38 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Peter
Top achievements
Rank 1
Peter asked on 02 Jul 2015, 01:42 AM

Hi. I am trying to customize grid create command with inline template.
But as i replicate in http://plnkr.co/yRFW0ssSHwaWwnuhQkxS
As soon as i click 'Add User Define Subject' button. Grid disappeared. And inline template is not showing up.
If i use 'popup' template. Template is showing up but that is not what i want.
I want to click 'Add User Define Subject' button. Inline template show up above green background grid. Is that possible?
Thx in advance.

4 Answers, 1 is accepted

Sort by
0
Peter
Top achievements
Rank 1
answered on 02 Jul 2015, 01:44 AM

Sry. Above link is broken.
First time i am using hyperlink function. :(
Here is the correct one http://plnkr.co/yRFW0ssSHwaWwnuhQkxS

0
Vladimir Iliev
Telerik team
answered on 06 Jul 2015, 08:50 AM
Hello Peter,

The data of the master grid is not and array of objects but it's array of arrays which is invalid configuration (you should nest the arrays under fields like "isDomainYearSemester"). Also you should define model "id" field in the grid dataSource schema as this is required for enabling valid editing in the widget. Finally when you use "rowTemplate" and need to enable editing you should set the row "uid" field as "data-uid" attribute to the "tr" element as follows:

rowTemplate: "<tr data-uid='#=uid#'><td><div>SomeContent</div></td></tr>",

Regards,
Vladimir Iliev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Peter
Top achievements
Rank 1
answered on 06 Jul 2015, 11:14 PM

Thx for the information. Vladimir.
Is it possible to help me modify my example to get it inline editing working since i am very new to kendo ui grid?

0
Vladimir Iliev
Telerik team
answered on 08 Jul 2015, 07:08 AM
Hello Peter,

For Implementing which of the previously listed points you need additional assistance? Could you please provide the example where you start implementing them? 


Regards,
Vladimir Iliev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Peter
Top achievements
Rank 1
Answers by
Peter
Top achievements
Rank 1
Vladimir Iliev
Telerik team
Share this question
or