Hello,
I would need to bind the Grid to different datasource once the user click on a different <li> elements. I tried to create a new datasource on the fly and to bind the same to the Grid and then applying the refresh(); method but it does not seem to work.
My questions are :
- what is the best method to bind two or more datasource at the same grid (as in my case by clicking on <li> element) ?
- is it better to create a new one ds or to change the existent with (if exist) a proper grid method ?
Thanks in advance
Mirco
I would need to bind the Grid to different datasource once the user click on a different <li> elements. I tried to create a new datasource on the fly and to bind the same to the Grid and then applying the refresh(); method but it does not seem to work.
My questions are :
- what is the best method to bind two or more datasource at the same grid (as in my case by clicking on <li> element) ?
- is it better to create a new one ds or to change the existent with (if exist) a proper grid method ?
Thanks in advance
Mirco