Hey guys.
I'm using the ListGrid. And I'm setting widgets into the cells. Like
http://www.smartclient.com/smartgwt/showcase/#featured_grid_cell_widgets
I'm inserting a Label in each cell with some ClickEvents to open a popupForm
THE PROBLEM:
1. How can I tell the ListGrid NOT TO call the toString method?. I'm setting the text that I need to show in the Label, but behind the label, I can see the text coming from the grid trying to show the value of the cell.
Since the object that I'm showing in each cell is a CUSTOM OBJECT THAT EXTENDS ListGridRecord, for now, I did a @override toString method that returns " ". But that's not a final solution.
2. (THE MOST IMPORTANT)
The Listgrid is printing a "[object Object]" message in each label. And I HAVE NO IDEA WHERE IS THIS COMING FROM.
ANY IDEAS? THIS IS DRIVING ME CRAZY.
sample code:
I'm using the ListGrid. And I'm setting widgets into the cells. Like
http://www.smartclient.com/smartgwt/showcase/#featured_grid_cell_widgets
I'm inserting a Label in each cell with some ClickEvents to open a popupForm
THE PROBLEM:
1. How can I tell the ListGrid NOT TO call the toString method?. I'm setting the text that I need to show in the Label, but behind the label, I can see the text coming from the grid trying to show the value of the cell.
Since the object that I'm showing in each cell is a CUSTOM OBJECT THAT EXTENDS ListGridRecord, for now, I did a @override toString method that returns " ". But that's not a final solution.
2. (THE MOST IMPORTANT)
The Listgrid is printing a "[object Object]" message in each label. And I HAVE NO IDEA WHERE IS THIS COMING FROM.
ANY IDEAS? THIS IS DRIVING ME CRAZY.
sample code:
Comment