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

Kendo Grid Edit Row with Row template

3 Answers 503 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Nilesh
Top achievements
Rank 1
Nilesh asked on 11 Jun 2015, 02:23 PM

Hi There,

 

I have a grid which has a row template. I am facing a problem in making the rows inline editable.

Reason why I need to use the row template ( as I dont know whether this can be achieved without a row template)

I have total 8 fields in my datasource, but 

I need to show first two fields in First Column one below another, next two fields in second column just like in the first column and next two in 3 and so on so forth. See the following format

 

Action                                           ACCT                                    TEMPLATE                     

A1                    OPT1                   A: Acct1                                 SomeTemplate                               EDITBUTTON

B1                    OPT2                   B: Acct2 

 

This is how the data would be displayed in one row. 

In edit mode, I need to allow the user to edit the OPT(column without header) ACCT and TEMPLATE columns.

All these editable columns will display a Dropdownlist from which the user can select a value.

 

Can anyone help ?

 

Thank You,

Nilesh

3 Answers, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 15 Jun 2015, 01:37 PM
Hello,

each column can have a custom editor - please check this demo and the documentation.

Regards,
Petyo
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Nilesh
Top achievements
Rank 1
answered on 16 Jun 2015, 06:42 AM

Hi There,

 I think you did not understand my question. I have seen lot of demos, but those did not help me in achieving what I need. I need to bind two fields to one column in the grid. I would really appreciate if you could help me with a simple example project .

 

 

0
Petyo
Telerik team
answered on 18 Jun 2015, 07:44 AM
Hello,

there is definitely a chance that I don't understand your case indeed. What would help in this case is to send us a functional example of the functionality you are trying to achieve. A thing which may help you in that case is that the custom editor has an access to the entire model, so you can add data for multiple fields - like this.

Regards,
Petyo
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
Nilesh
Top achievements
Rank 1
Answers by
Petyo
Telerik team
Nilesh
Top achievements
Rank 1
Share this question
or