Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » Table checkable Column
Table checkable Column [message #1833279] Thu, 08 October 2020 11:40 Go to next message
Luis Nothvogel is currently offline Luis NothvogelFriend
Messages: 56
Registered: October 2019
Member
Hi all,

I have a Problem or maybe I understood something wrong. I have got an hiracial table. I added a Boolean column to use as a Select column. There I used the de]execCompleteEdit method to also check the Childrows of the Parentrow.

So when I check a Parentrow its Childrows also gets checked, pretty simple. Now i wanted to test out the inbuild checkable column of the table because then i could use the other inbuild method like getCheckedRows and so on.

But when I set the getConfiguredCheckableColumn to use my SelectColumn and set the configuredCheckable to true it wont use the execCompleteEdit. In other words it wont check the childrows aswell.

Is this maybe the wrong way to use getConfiguredCheckableColumn?

Thank you all for your answers,
Luis
Re: Table checkable Column [message #1833723 is a reply to message #1833279] Thu, 22 October 2020 14:34 Go to previous messageGo to next message
Claudio Guglielmo is currently offline Claudio GuglielmoFriend
Messages: 259
Registered: March 2010
Senior Member
Hi Lars,

since you now use the checkable feature of the table, the checkbox click is delegated to the table and not handled by the column anymore. That is why execCompleteEdit is not called.

To make it work again you could move your code to execRowsChecked() of the table because that method will be called whenever a row is checked (by mouse click or the by space key).

Btw: you actually don't need to use an explicit checkable column using getConfiguredCheckableColumn, unless you don't want the checkable column to be the first column of the table (at the very left).

Best regards
Claudio
Re: Table checkable Column [message #1833853 is a reply to message #1833723] Mon, 26 October 2020 10:03 Go to previous message
Luis Nothvogel is currently offline Luis NothvogelFriend
Messages: 56
Registered: October 2019
Member
Thank you for the help, Claudio :) That helped!
Previous Topic:Application on mobile device
Next Topic:html5 rich text editor
Goto Forum:
  


Current Time: Thu Nov 14 22:11:38 GMT 2024

Powered by FUDForum. Page generated in 0.02852 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top