Вопрос

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