No, I had not seen that API. It appears that it is in the (yet to be released) 2.4 version, correct? I will try to download the latest nightly build and give it a try.
Thanks!
-Ryan
Announcement
Collapse
No announcement yet.
X
-
Have you seen DataSource.addDynamicDSGenerator()? Server-side DataSources can be generated dynamically based on totally arbitrary Java code that accesses databases, web services or whatever data in order to form the DataSource.
The system is entirely dynamic.
Leave a comment:
-
Dynamic DataSource/Dynamic Columns in a ListGrid
Greetings,
I'm in the evaluation phase of SmartGWT for an enterprise application. There is a requirement for an excel-like editor where the columns are dynamic based on the "resource" that comes from the server. The resource contains both the metadata (the column info) and the actual data (the rows). These resources could have tens of thousands of rows, which makes ListGrid attractive as a potential solution.
However, it seems that all of the discussions I have found require a more "static" datasource that is either pre-defined in xml, or is similarly "pre-defined" programmatically in java.
I am looking for a way to essentially create a ListGrid with dynamic columns. Moreover, I need the ability for the user to add and remove columns as well as "rename" existing ones. I've not found any existing example for this type of use case, nor have I found an elegant solution to allow a dynamic, "editable" data source.
Can anyone suggest a potential solution or point me to a relevant example for this? Or is this something that SmartGWT is not designed to handle? Any and all help would be greatly appreciated!
Thanks,
RyanTags: None
Leave a comment: