Hi Darrel, thank you:) This is really simple and I will try it.
And explanation why I want something like this: In each module (or frame or I don't know how to correctly name it) we have standard buttons "Refresh", "Edit", "Add" and "Remove". So we usually not allow editing in tables and we have dialogs instead, but in one module the table editing is simply good solution and we want to have same buttons as other modules - unified interface. Table can be also double clicked, this is just visual think. I think that this idea is good :-) Cheers and good weekend:) - Petr 2008/11/8 Derrell Lipman <[EMAIL PROTECTED]>: > On Fri, Nov 7, 2008 at 9:29 PM, Petr Kobalíček <[EMAIL PROTECTED]> > wrote: >> >> Hi devs, >> >> after long time I have very short question. >> >> I have table and in one column is enabled editing. I have button and I >> want to invoke table editing by clicking on it. >> >> So question is, how to invoke table editing, is this possible (I think >> that it is:) ) ? > > Hi Petr, > > The term "table editing" is a bit of a misnomer. The tables themselves > don't allow editing; rather individual cells can be edited. You may > therefore want to think about whether you really want to put into place a > design that provides a single button for editing of the "table". Typically, > one double-clicks on a cell to edit it. That's the default behavior when > you set a column to be editable. In some cases, adding a single click event > handler to turn on editing for the cell makes sense. It's necessary, > though, to know what cell is being edited (the focused cell), so I'd caution > you to think hard about whether you really want a single button outside of > the table that begins editing. > > To answer your question, if you still want to have a single button cause > editing to begin on the currently focused cell, you simply call > table.startEditing(). > > Cheers, > > Derrell > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
