ToggleButton inside a Grid doesnt get focus

SajuP21 Nov 2011 8:33 PM
Is it possible to have a 1 column grid where the cell consists of a KONtx.element.Text and a KONtx.control.ToggleButton. I'm able to create a grid like this but the toggle button doesn't get the focus and I can't select values using the toggle button. I tried turning the focus off on the grid (focus:false in the definition of the grid) but that doesn't seem to solve the problem. 
SajuP25 Nov 2011 8:31 PM
For any one else who come looking, I ended up showing dynamically added regular text buttons on an &nbsp;alert dialog (one per choice) as a work around. The alert dialog is displayed whenever user selects an item in the grid (grid cell just have text content , and didn&#39;t add any buttons in the grid cell it self). There might be a better way to do this, but for now the above solution served my purpose.<br><br><br><div class="quote "><div class="quotetop ">QUOTE<cite>(SajuP @ 21 Nov 2011 8:33 PM)</cite><blockquote class="quotemain">Is it possible to have a 1 column grid where the cell consists of a&nbsp;KONtx.element.Text and a&nbsp;KONtx.control.ToggleButton. I&#39;m able to create a grid like this but the toggle button doesn&#39;t get the focus and I can&#39;t select values using the toggle button. I tried turning the focus off on the grid (focus:false in the definition of the grid) but that doesn&#39;t seem to solve the problem.&nbsp;</blockquote></div></div>