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

Grouping Grid With client DataBinding

3 Answers 73 Views
Grid
This is a migrated thread and some comments may be shown as answers.
mark
Top achievements
Rank 1
mark asked on 15 Jun 2010, 12:13 AM
Hi Folks,

I've spent a bit of time trawling through the web looking for a solution for this problem. I can achieve my goals when the grid is bound server side, but I need the grid to be bound client side.

I am able to bind it client side alright, that isnt the problem , the problem is that when I'm using declarative  GroupByExpressions I get the error   Field xxxxx not found  in the source table, please check expression syntax. 

I understand why I'm getting this, the grid is getting rendered prior to the client databinding firing. and the dataset for the grid doesn't exist at this point.

I've tried using the client GroupColumn   method when binding the grid but no joy. 

has anyone managed to use grouping with client side binding, if so, can you please give me a pointer as to how to do it 

thanks 

Mark

3 Answers, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 17 Jun 2010, 11:03 AM
Hello Mark,

I'm afraid that grouping when RadGrid is populated client-side is currently not supported.

All the best,
Rosen
the Telerik team
0
Brandon Kelly
Top achievements
Rank 1
answered on 15 Oct 2010, 02:14 AM
Is this in PITS?  I could really use this feature now :)  Any workaround?
0
mark
Top achievements
Rank 1
answered on 15 Oct 2010, 03:24 AM
Hi Brandon,

a work around that you could do... takes a bit of work alright, and has got drawbacks.. (i.e. cannot change grouping)

1. create a template column
2. put a radgrid inside it
3. on clientrowdatabound  bind the grid .. unfortunately you will have to supply the ID of the grid to your webmethod/ pagemethod and return it (this is so you can find the control when you return your data set)
4. apply the results


Tags
Grid
Asked by
mark
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Brandon Kelly
Top achievements
Rank 1
mark
Top achievements
Rank 1
Share this question
or