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

I lose all my attributes when grid my existing table

1 Answer 110 Views
Grid
This is a migrated thread and some comments may be shown as answers.
S
Top achievements
Rank 1
S asked on 19 Jan 2012, 01:38 PM
Hi guys,

I'm using Kendo UI - Grid on existing table.
However since I Kendo -wrap it  I lose all my attributes.
So I'm adding them dynamically using dataBound: property.
But since I'm also declaring it as sortable: , I'm losing them again when a sorting is done.
This is bad when it comes to bind data to an element and get it in the new order, because this data is lost.

Is there a way to set dafault map of attributes of a table and keep them no matter the changes?

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 19 Jan 2012, 02:06 PM
Hello,

Indeed, currently cell HTML attributes are not preserved. We will probably resolve this limitation in the future. In the meantime, you can use a row template to overcome it.

http://demos.kendoui.com/web/grid/rowtemplate.html

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