View Full Version : Disable row in json grid

30 Nov 2010, 10:18 AM
Hi everyone,
I am using http://www.sencha.com/examples/#jsongrid
I want to disable a row in json grid.
According to Condor in http://www.sencha.com/forum/showthread.php?112190-disable-row-in-grid&highlight=disable+grid+row, needs add a css class to specific rows.

But i am not able to set css after grid load, code snippet i am using

getGrid().addListener(Events.Render, new Listener<GridEvent<ModelData>>() {
public void handleEvent(GridEvent<ModelData> ge)
//Window.alert("Grid Renderer");
but disabledRowClass is not get applied to the row(div).
According to my observation this event is fired before the row got created.
Please suggest me which event should i need to use or if there is any work around?

Thanks in Advance,
Ramesh V

30 Nov 2010, 2:04 PM
What is the goal you are trying to accomplish? To hide the row? You might get better help by posting this thread in the Gxt: Help (http://www.sencha.com/forum/forumdisplay.php?45-Gxt-Help) forum.

1 Dec 2010, 7:10 PM
Thanks for your suggestion.
This question is posted in Gxt: help
hope this may help some one.....