|
|||||||
![]() |
|
|
Thread Tools | Search this Thread |
|
#1
|
|||
|
|||
|
I am using the ListGrid.setSelectionProperty() in smartGWT 2.4. According to the javadoc, it seems when a record is selected in the ListGrid, it will change the "isSelected" field in the DataSource.
However it did not seem to work for me. No matter I defined the "isSelected" field in DataSource field only or defined it in both DataSource and the ListGrid field. I also try to use ListGrid.saveAllEdits(), hoping it will write the selected field to the DataSource. No luck either. So my question is: will ListGrid.setSelectionProperty() change the dataSource when a record is selected? if yes, is there a working example that I can take a look at? Thanks! |
|
#2
|
|||
|
|||
|
No. Selection is a grid-level behavior. DataSource records do not have a notion of whether they are selected.
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Download a File error | RHill | Technical Q&A | 12 | 5th Mar 2012 10:07 |
| Get Record from DataSource | csdavies | Smart GWT Technical Q&A | 7 | 6th Aug 2010 10:23 |
| The Smart GWT FAQ | Isomorphic | Smart GWT Technical Q&A | 0 | 27th Oct 2009 17:41 |
| Over and selected change in list grid record while using recordCustomStyleProperty | saurabhgandhi27 | Technical Q&A | 1 | 13th Aug 2008 09:09 |
| Get selected record from datasource | zsinnema | Technical Q&A | 1 | 29th Aug 2007 11:20 |