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

Grid with adding dynamic colmn

6 Answers 47 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Guillaume
Top achievements
Rank 1
Guillaume asked on 21 Feb 2014, 03:49 PM
Hello,

I'm having trouble getting kendo Grid with a dynamic object type, or another object allowing me to contain any number of columns, so ordinances or fields keyValue pairs (side server or client, I prefere server side)

Here is the list of features I need already today:
Columns:
add column, (type numeric, date, string  values) 
remove column,

Rows:
edit/update row (InCell or onpopup...),
add row,
remove row,


Thanks,








6 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 24 Feb 2014, 08:55 AM
Hi,

Currently adding and removing columns isn't supported. You need to destroy and recreate the grid with the new columns.

Adding and removing records is supported. Please refer to the addRow and removeRow method documentation in the API reference.

Regards,
Atanas Korchev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Guillaume
Top achievements
Rank 1
answered on 24 Feb 2014, 10:49 AM
Hello,

Thanks for your reply.

Guillaume
0
Guillaume
Top achievements
Rank 1
answered on 24 Feb 2014, 11:28 AM
Hi,

How I can bind in server side with one object (model) dynamic or dictionary ?

Thanks.
0
Atanas Korchev
Telerik team
answered on 24 Feb 2014, 11:42 AM
Hello,

I am not sure what your requirement is. Could you please clarify? Also please specify the server-side platform of choice.

Regards,
Atanas Korchev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Guillaume
Top achievements
Rank 1
answered on 24 Feb 2014, 04:01 PM
Yes, I was not at all clear :) 
Server side technology: ASP.NET MVC 4 or 5.
I would like to override the event itemDataRow binding if it's possible...


Thanks.
0
Atanas Korchev
Telerik team
answered on 24 Feb 2014, 04:19 PM
Hi,

You could check the binding to dynamic object code library project. 

The Kendo UI grid doesn't currently support an event called itemDataRow.

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