Hello,
I have tree as menu at left panel and listGrid in right side panel.
On node selection, I set datasource to grid using below function
myGrid.setDataSource("treeOneDS");
and that work fine.
But on folder selection I have to remove datasource from grid, and just have to display blank message.
On top of that Node might not have datasource defined. In that case I just have to display blank message.
(Basically dataSource are different table data.)
How to do that ??
I tried below code but It raise error.
myGrid.setDataSource("");
myGrid.setDataSource(null);
Thou I can draw ListGrid without assign DataSource, But Its not good idea to destroy and redraw again and again.
Please suggest me how to achieve my requirement?
Thanking you.
I use Version v10.0p_2015-01-14/PowerEdition Development Only (2015-01-14)
I have tree as menu at left panel and listGrid in right side panel.
On node selection, I set datasource to grid using below function
myGrid.setDataSource("treeOneDS");
and that work fine.
But on folder selection I have to remove datasource from grid, and just have to display blank message.
On top of that Node might not have datasource defined. In that case I just have to display blank message.
(Basically dataSource are different table data.)
How to do that ??
I tried below code but It raise error.
myGrid.setDataSource("");
myGrid.setDataSource(null);
Thou I can draw ListGrid without assign DataSource, But Its not good idea to destroy and redraw again and again.
Please suggest me how to achieve my requirement?
Thanking you.
I use Version v10.0p_2015-01-14/PowerEdition Development Only (2015-01-14)