[Activetcl] Tablelist Interactive Cell Editing
by Juberi Rajib other posts by this author
Apr 22 2008 4:12PM messages near this date
view in the new Beta List Site
Re: [Activetcl] Question about focus and grab ...
|
[Activetcl] split doing two different things
I have a question regarding interactive cell editing. The description of
the problem is as follows. I have three columns in my tablelist with
first column has embedded combobox, second embedded entry and the third
embedded 'text' widget. What I want to achieve is that I want to skip
over the second column (in certain cases based on the selected combobox
value )upon selecting a value from the embedded combobox in the first
column to the third column, disabling editing the second column in the
process.
tbl cancelediting (cancels edit in the second column)
$tbl cellselection set $row, 2 (where 0 = 1st col, 1= 2nd col, 2 = 3rd
col, row = row #)
This works as tabbing skips over to the third column and highlights the
desired cell in the third column but it does not allow typing via
keyboard into the cell. I would have to mouse-click into the cell to be
able to edit. I am not sure if it's a focus issue or not. I would like
to have the cursor point at the beginning of the highlighted cell in the
third column. The default behavior is when you hit tab, the cursor
propagates from the cell in the first column to that in the second and
from the cell in second to that in the third and so on, thus enabling
typing/editing without the need to mouse click into the cells in the
third column.
Any thoughts/suggestions on this ? Or the default behavior is all we
would have to stick to ? Thanks for any help that you can provide.
|