Hi,
I'd like to use client side databinding with RadGrid Q2.2008 version. I've placed a RadGrid on page and would like to bind my data from WebService to it. I use the sample code:
var grid = $find("<%= RadGrid1.ClientID %>"); |
var tableView = grid.get_masterTableView(); |
tableView.set_dataSource(results); |
tableView.dataBind(); |
get_masterTableView returns nothing due to the fact that I don't bind any data to the RadGrid, I think. But I don't want to use server side datasource and I don't know how many columns I get from service. So I can't predefine the columns.
Has anybody an idea how to get RadGrid cooperative for that?
Thnx!