View Full Version : grid.selectionModel() is not a function

21 Apr 2011, 9:29 AM
Hi guys,

I have this scenario,
in my viewport, based on ebook that I've read,
I populated the centerRegion with a grid, and with the grid, i put this tbar with edit button in it.

My problem is,
I want that selected row from the grid to be edited with the given form panel, but firebug shows me an error of,

grid.selectionModel() is not a function.

but if the grid is not part of the viewport it is working fine.

which part of rendering technique is ok with this?,

how can I make the grid inherit the centerRegion's space,

I've tried just using the renderTo but the output is not so good, the grid doesn't entirely dominate the ceterRegion.

Tim Toady
21 Apr 2011, 9:34 AM