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

[Solved] Set RadGrid row dynamically using javascript

1 Answer 128 Views
Grid
This is a migrated thread and some comments may be shown as answers.
reynald lawrence
Top achievements
Rank 1
reynald lawrence asked on 20 Nov 2009, 08:06 AM
Hi there!

I have a RadGrid which have pagesize of 15 (15 records in an index),
I used: 
    

var

 

summaryGridView = $find('<%= RadGrid1.ClientID %>').get_masterTableView();

 

var

 

rownum = parseInt(getQuerystring("rowindex"));

 

summaryGridView.selectItem(rownum);

..and it works fine if the row is in pageindex 1, but If I want to dynamically select records from index 2 and above it doesn't work.

Hope I can find solution, Many Thanks!!


Regards,

Reynald.

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 20 Nov 2009, 08:53 AM
Hello Reynald,

One suggestion to achieve this functionality, is by invoking an ajxRequest() from client and selecting the corresponding row from server side.

-Shinu.
Tags
Grid
Asked by
reynald lawrence
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or