Question

I want show data from two table in a single listgrid.

Is it possibile?

EDIT: are two istance of two different table.

Was it helpful?

Solution

addData(Record newRecord) 

Perform a DataSource "add" operation to add new records to this component's DataSource.

This is a method to add more data in a listgrid.

There are two more variants available look this link : http://www.smartclient.com/smartgwt/javadoc/com/smartgwt/client/widgets/grid/ListGrid.html

OTHER TIPS

Better you can add the data from second table manually using listgrid.add API or something similar to that.

the best method would be to

listgrid.addData(Record record)

This would help you add a new record to the DataSource. This would have an easy extraction as well. Still if possible please share some code snippet that might be more useful for an appropriate answer.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top