Showin records as selected in grouped Grid... HELP!

Questions and answers on designing your Servoy solutions, database modelling and other 'how do I do this' that don't fit in any of the other categories

Showin records as selected in grouped Grid... HELP!

Postby swingman » Thu Nov 03, 2022 4:59 pm

Hi all,

I'm on Servoy 2021.12, ng-client.

My users are jumping between project records. Each project has a grid of resources with multi-select enabled. The resource grids can be filtered. When the users come back to a project they expected the filters, record selection etc to be the same as when they last visited the record. I can get this to work fine as long as the grid is not grouped. There is

Code: Select all
elements.groupingtable_1.getGroupedSelection();

but no

Code: Select all
elements.groupingtable_1.setGroupedSelection(pks);


There seems to be no way to programmatically show records in a grouped grid as selected. If you click the records manually, they highlight as normal.

Does anyone have a workaround for this?

Thanks,
Christian Batchelor
Certified Servoy Developer
Batchelor Associates Ltd, London, UK
http://www.batchelorassociates.co.uk

http://www.postgresql.org - The world's most advanced open source database.
User avatar
swingman
 
Posts: 1472
Joined: Wed Oct 01, 2003 10:20 am
Location: London

Re: Showin records as selected in grouped Grid... HELP!

Postby Gabi Boros » Thu Nov 03, 2022 5:34 pm

it can't be done without a new api, setGroupedSelection - please create a case for this
Gabi Boros
Servoy
Gabi Boros
 
Posts: 399
Joined: Tue Jun 26, 2007 4:03 pm
Location: Timisoara, Romania

Re: Showin records as selected in grouped Grid... HELP!

Postby swingman » Thu Nov 03, 2022 6:57 pm

will do.

C
Christian Batchelor
Certified Servoy Developer
Batchelor Associates Ltd, London, UK
http://www.batchelorassociates.co.uk

http://www.postgresql.org - The world's most advanced open source database.
User avatar
swingman
 
Posts: 1472
Joined: Wed Oct 01, 2003 10:20 am
Location: London

Re: Showin records as selected in grouped Grid... HELP!

Postby swingman » Thu Nov 03, 2022 6:59 pm

What's the url to create a case?
Christian Batchelor
Certified Servoy Developer
Batchelor Associates Ltd, London, UK
http://www.batchelorassociates.co.uk

http://www.postgresql.org - The world's most advanced open source database.
User avatar
swingman
 
Posts: 1472
Joined: Wed Oct 01, 2003 10:20 am
Location: London

Re: Showin records as selected in grouped Grid... HELP!

Postby vik.lamp.vl » Fri Nov 04, 2022 10:50 am

Hey swingman,

i usually create cases in the support-system from servoy. https://support.servoy.com/secure/RapidBoard.jspa?rapidView=1&projectKey=SVY&view=planning.nodetail&issueLimit=100 you need to login with your servoy-credentials or create an account.

Or if i find bugs on some specifics modules i create a issue on the github page, for example the bootstrap components https://github.com/Servoy/bootstrapcomponents here you need a github account.

Greetings
-Vik
vik.lamp.vl
 
Posts: 25
Joined: Wed May 26, 2021 3:37 pm
Location: Germany

Re: Showin records as selected in grouped Grid... HELP!

Postby swingman » Sun Nov 06, 2022 1:19 pm

Added as SVYX-528.
Christian Batchelor
Certified Servoy Developer
Batchelor Associates Ltd, London, UK
http://www.batchelorassociates.co.uk

http://www.postgresql.org - The world's most advanced open source database.
User avatar
swingman
 
Posts: 1472
Joined: Wed Oct 01, 2003 10:20 am
Location: London


Return to Programming with Servoy

Who is online

Users browsing this forum: No registered users and 5 guests