1) When using the "transferSelectedData" method of a listgrid, it does NOT obey the listgrid's setAutoSaveEdits(false) setting. That is, even though changes to the listgrid (ie addition of new rows; deletion of rows etc) are NOT supposed to occurr unless I call the "saveAllEdits()" method, the "transferSelectedData" seems to ignore this. the Is this the intended behaviour? If not, is there a workaround?
On a different (but maybe) related note:
2) If a listgrid's row's canEdit is set to false (shown below), the "remove records" button still allows the row to be removed. Is this the intended behaviour? (I would think that if the row is not editable, it should not be removable either).
records[i].setAttribute("_canEdit", false);
2b) Related to #2: Is there a way to overide the "remove" method that the removeRecord icon calls? I did try to override it, but it never seemed to call the removeMethod....my guess is that it's calling the javascript SmartClient removemethod directly??
Full Infrastucture Details:
==================================
SmartGWT Version: SC_SNAPSHOT-2011-12-05/PowerEdition Deployment (built 2011-12-05)
OS: Windows XP Pro
IDE: MyEclipse 10.0 with Google Plugin for Eclipse (2.5)
Browser: Mozilla Firefox 4.0.1
GWT SDK: 2.4.0
Sun JDK 1.6.0_27
On a different (but maybe) related note:
2) If a listgrid's row's canEdit is set to false (shown below), the "remove records" button still allows the row to be removed. Is this the intended behaviour? (I would think that if the row is not editable, it should not be removable either).
records[i].setAttribute("_canEdit", false);
2b) Related to #2: Is there a way to overide the "remove" method that the removeRecord icon calls? I did try to override it, but it never seemed to call the removeMethod....my guess is that it's calling the javascript SmartClient removemethod directly??
Full Infrastucture Details:
==================================
SmartGWT Version: SC_SNAPSHOT-2011-12-05/PowerEdition Deployment (built 2011-12-05)
OS: Windows XP Pro
IDE: MyEclipse 10.0 with Google Plugin for Eclipse (2.5)
Browser: Mozilla Firefox 4.0.1
GWT SDK: 2.4.0
Sun JDK 1.6.0_27
Comment