-
26 Dec 2010 11:57 PM #11
-
11 Jul 2011 1:12 AM #12
thx, Condor, but after moving and then save changes (editorgrid) I see a row duplicates, how to fix it, I cann`t imaginate
-
11 Jul 2011 2:08 AM #13
sorry) already fix
PHP Code:var purgeFromRemoved = App.in_array(record,this.store.removed) ? false : true;
this.store.remove(record);
this.store.insert(index, record);
// purge record from removed
if(purgeFromRemoved){
var i = this.store.removed.indexOf(record);
if(i != -1) this.store.removed.splice(i,1);
}
-
22 Sep 2011 5:40 AM #14
Hi,
I am a beginner in ext js. i am using Ext.NET.
I am not sure howw to make this work for me.
Can anyone help?
Regads
Jophin
-
15 Jan 2013 1:44 AM #15
-
26 Apr 2013 12:09 PM #16
I was working on problem like this and thought I'd mention a little shortcut I found. In our code we have to move one or multiple rows at once but we only have to move then by one position at a time. I found that it was easier to move one row "out of the way" instead of moving each row in the selected group.
For example, assuming a grid with 7 rows and the user wants to move rows 2, 3 and 4 down by one position. Instead of looping through the selected group of rows and moving them one at a time, you can move row 5 to position 2 and get the same effect as moving the selected group of rows.




Reply With Quote