PDA

View Full Version : [CLOSED] getView().refresh() refresh whole list cause lost of state



Joe
Dec 10, 2013, 9:33 AM
Hi,

I have a fix list of 1 column data about 1500 rows in gridpanel. I need to update part of the list value and font color in time to time. I have use the row renderer to change the color or value. When updated i have to call the getView()reefresh() to show the updated info.

Problem here is that user has selected a row or scrolling down the gridpanel will get refresh or reset to top of the grid. in 1.x i able to update just the cell and not affected the whole panel.

How do I able to do that in 2.X ? Kindly please show a sample code in Asp.net c#.

Daniil
Dec 10, 2013, 11:57 AM
Hi @joe,

Welcome to the Ext.NET forums!

Being a premium member, please ask questions in the premium forums. Otherwise, we may miss your question.

If you are using the refreshRow method in v1.x, then there is a counterpart in v2.x.
http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.view.AbstractView-method-refreshNode