Hi,
I would like to use DetailViewer standalone, without binding it to a grid, but although there is setDataSource() method, there is no fetchData() to load the data from the server. Would be possible to add it?
Tnx,
Predrag
Hi,
I would like to use DetailViewer standalone, without binding it to a grid, but although there is setDataSource() method, there is no fetchData() to load the data from the server. Would be possible to add it?
Tnx,
Predrag
Oops, that API exists in SmartClient but isn’t showing in SmartGWT. We’ll add it.
In the meantime you could call DataSource.fetchData() and use DetailViewer.setData() with the result.
Added issue 62 to track this. The next nightly will have it.
Sanjiv
fetchData(), filterData(), setAutoFetchData(), setAutoFetchAsFilter() and
setInitialCriteria() are now part of the DataBoundComponent interface which DetailViewer implements.