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

lost alignment after ajax client side bind

2 Answers 56 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jason
Top achievements
Rank 1
Jason asked on 01 Mar 2014, 03:21 AM
Dear All

I have a radgrid need to client side bind. All things work fine except lost alignment after the row initialized from server.

You can see from this demos: http://www.telerik.com/forums/bind-radgrid-client-side-to-a-json-array

if you set the column item alignment to "center" in declaration, you will found only first 4 rows are proper align, which  come from server. The rest of them lost alignment.

it also can see from page source code, the rest <td> didn't include the alignment attribute.

Please let me know how to fix it.

Thank you very much.

With best regards

Tommy

2 Answers, 1 is accepted

Sort by
0
Jayesh Goyani
Top achievements
Rank 2
answered on 01 Mar 2014, 10:57 AM
Hello,

By using RowDataBound event you have to set the class in to TR/TD manually.

Please check the below link for reference.

http://www.telerik.com/forums/radgrid-client-side-binding-with-more-than-100-rows#jPs72I-s9UeZZcxB-km-Fg

Thanks,
Jayesh Goyani
0
Jason
Top achievements
Rank 1
answered on 03 Mar 2014, 01:24 PM
Dear Mr. Goyani

Thank you very much. 


With best regards
Tommy
Tags
Grid
Asked by
Jason
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
Jason
Top achievements
Rank 1
Share this question
or