Assuming "i" is the index of the record on the grid (hence, index of the row in the grid).
Assuming "i" is the index of the record on the grid (hence, index of the row in the grid): Ext. Fly(myGrid.getView(). GetNode(i)).
Ghlight("highlight color", { attr: 'color', duration: 5000 }); However, if the inserted record is always going to be on the first row, you can just specify the first after a record is added : Ext. Fly(myGrid.getView(). GetNode(0)).
Ghlight("highlight color",{ attr: 'color', duration: 5000 }); To ghlight the background color of the row, you can add a highlight class to the newly inserted row: CSS : . Myghlight{ background : your-highlight-color } JS Ext. Fly(myGrid.getView().
GetNode(0)). AddCls("my and then remove it once your done highlighting : Ext. Fly(grid.getView().
GetNode(0)). RemoveCls("myghlight").
Thanks a lot mate – Gihan Lasita Sep 11 at 21:15.
In your add function, try Ext. Fly(myGrid.getView(). GetNode(r.getId())).
{ attr: 'color', duration: 2 }); Change highlight config to your preference EDIT Store's add event gives us an array of records that were added. If you want to highlight all of them, iterate over the array and call the above snippet for each record in the array. If you want to highlight particular one, (first or last maybe), get it from the array and call the above snippet.In the above snippet, r refers to a particular record.
Thanks for the answer, tried and im getting error in firebug r. GetId is not a function – Gihan Lasita Sep 11 at 16:25.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.