I am looking for/missing a functionality within edit tablelist.
If I have selected multiple rows and edit one cell, all of the other rows
are deselected.
I am not sure if I have the options right or whether it is possible at all. What I would actually expect/wish is that all of the selected rows get the new edited value in the edited column.
I think I could achieve this in the Edit End Command, if it was not that all of the other rows just got deselected at the beginning of edit.
The reverse seems to be possible. I start editing a cell and during the edit process I can select other rows, with editing going on. Here I could introduce a foreach loop for curselection, but the action is counterintuitive for the user.
Have I missed one of these options -instanttoggle -editselectedonly something?
Editing and selection are independent functionalities. Your idea to use
the -editendcommand option will probably work as expected. Alternately,
you can make use of the <<TablelistCellUpdated>> virtual event.
On Tuesday, 9 November 2021 at 09:53:28 UTC+1, nemethi wrote:
Editing and selection are independent functionalities. Your idea to use
the -editendcommand option will probably work as expected. Alternately,
you can make use of the <<TablelistCellUpdated>> virtual event.
Yes, it worked allright, the only problem is that I need to start the editing and only after that I need to select the multiple rows. When I start the editing the selection is lost ... maybe I could try to save the selection with editstartcommand...
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 285 |
Nodes: | 16 (2 / 14) |
Uptime: | 33:54:52 |
Calls: | 6,449 |
Calls today: | 1 |
Files: | 12,052 |
Messages: | 5,254,995 |