PDA

View Full Version : Radiogroup inside of PropertyGrid cell



Chairman Ray
18 Jul 2012, 6:00 PM
Hi, I am trying to put a radiogroup inside the value field of a propertygrid cell, but I am having some troubles.

My radiogroup will just be something like this:
O Enabled O Disabled

The radiogroup will only appear in some of the cells, not in the entire column.

My current approach is to modify the current Ext.ux.grid.PropertyGrid.js file. When I put this radiogroup in the render, I am able to load the data from the store and display it correctly, but I can't seem to retrieve data from it. When I put this radiogroup in the editor, I have to click once for the editor to appear and then I am able to change it.

My question is, what is the best way to put a radiogroup inside a propertygrid?

Chairman Ray
27 Jul 2012, 9:13 AM
Never mind, I figured it out. It was as simple as putting a radiogroup inside the renderer and fetching the value by id.

scottmartin
30 Jul 2012, 9:19 PM
Thank you for the follow up!

Scott.