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

Using GridClientSelectColumn with client side data binding

3 Answers 98 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Anand
Top achievements
Rank 1
Anand asked on 27 Oct 2008, 05:44 PM
I'm using client side data binding using WebServices and JSON. The grid works great but has some issues. I guess the client side binding is not there yet. :)

The issue I am facing right now is while using GridClientSelectColumn. After initial load, when I change the page and bind grid on client side, all the check boxes get removed from Select column.

I also looked at RadGrid javascript code to see if I am doing something wrong but there is no handling for GridClientSelectColumn type in there.

This works well after I change the RadGrid javascript code in dataBind method by injecting:

if (_244[j]._data.ColumnType == "GridClientSelectColumn") { 
    var _254 = cell.getElementsByTagName("input"); 
    if (_254.length > 0 && _254[0].type == "checkbox") { 
        if (_254[0].checked) { 
            _254[0].checked = false
            _248.set_selected(false); 
        } 
    } 

Can someone suggest a solution?

Thanks

3 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 28 Oct 2008, 07:55 AM
Hi Anand,

We fixed this problem and the fix will be available with our upcoming Q3 release (early November).

Sincerely yours,
Vlad
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Anand
Top achievements
Rank 1
answered on 31 Oct 2008, 10:25 PM
Vlad,

Thanks for your confirmation. I also realized that the issue exists for GridHyperLinkColumn too. Can you also include a fix for it.

Thanks
Anand
0
Vlad
Telerik team
answered on 03 Nov 2008, 03:53 PM
Hi Anand,

Indeed GridHyperLinkColumn is fixed as well.

Greetings,
Vlad
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Anand
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Anand
Top achievements
Rank 1
Share this question
or