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

Is it possibile?

EDIT: are two istance of two different table.

有帮助吗?

解决方案

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

其他提示

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top