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

[Solved] Complex object binding

0 Answers 80 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Julien
Top achievements
Rank 1
Julien asked on 16 May 2012, 01:43 PM
Hello,

I'm trying to use the rebind method of the grid passing a complex javascript object but it is not properly bound on the server side.
It works if I use a simple object like this:
$('#grid').data('tGrid').rebind({ selectedId: sampleId});
But if I try it with a complex object (array or nested properties) it doesn't map to the object on the server side:
$('#grid').data('tGrid').rebind({ complexObject: [sample1, sample2], property: {nestedProperty}});
Does anyone have any idea how to make this work?

Thanks,   
Tags
Grid
Asked by
Julien
Top achievements
Rank 1
Share this question
or