I can put a list in grid cell using a custom renderer. (Ext is so cool!) but I want the vertical scroll bar to fit into the cell. What happens is that a horizontal scrollbar is created and if I scroll over I can see the vertical bars. Maybe the fix is obvious to someone with more experience but not to me! Here is the renderer:
Code:
function cprender(val,cell,record,row,column,ds)
{
var x = '<div style="overflow:auto;"><select name="Morefruit" size="4"><div style="overflow:hidden;"><option selected>Apples</option>';
x += '<option>Bananas</option><option>Oranges</option><option>Watermelon</option>';
x += '<option>Kiwi</option></div></select></div>';
return x;
}
Get cell size? Then do something with it?
Thanks