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

Redefine data packet in Kendo UI grid edit popup

1 Answer 53 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Rasika
Top achievements
Rank 1
Rasika asked on 24 Jul 2015, 05:40 AM

I think this is an advance topic in Kendo UI. I have a Kendo UI grid and I added a custom edit popup to update the data in the grid.
My data packet like this :

 

{
 fieldOne : "valueOne";
 fieldTwo : "valueTwo";
 fieldThree : [{a : "someValue", b : "someValue"},{a : "someValue", b : "someValue"}]
}
 

 In edit popup I will edit this data. But I have a new requirement that add a new value to fieldThree. My new Data packet will look like this...     

 {
  fieldOne : "valueOne";
  fieldTwo : "valueTwo";
  fieldThree : [{a : "someValue", b : "someValue"}]
 }

 

 

 

What I have done is I made a custom popup and custom fields for that. But my question is how I redefine the data packet to above one ?? In Kendo UI it will only update existing values...

 

1 Answer, 1 is accepted

Sort by
0
Rasika
Top achievements
Rank 1
answered on 24 Jul 2015, 06:19 AM

I am really sorry about the formatting above post and I try to edit that but I could not find the way to do that and also there is mistake in my post.
So I put that question to stackoverflow.

please refer that question

Thanks in advance 

 

Tags
Grid
Asked by
Rasika
Top achievements
Rank 1
Answers by
Rasika
Top achievements
Rank 1
Share this question
or