Powergrid Group Headers

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

Powergrid Group Headers

Postby swingman » Thu Sep 15, 2022 9:49 am

Hi all,

I'm using the PowerGrid component in Servoy 2021-12, ng-client.
It is working fine, except I would like to-style the headers when grouping the grid.

How do I style the group headers so they take up the full width of the grid? I can't find any examples.
In the Data Grid, I simply ticked a checkbox.
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: Powergrid Group Headers

Postby Gabi Boros » Mon Sep 19, 2022 9:18 am

hi,

maybe you could use the 'headerGroupStyleClass' column property? or do you mean the 'groupUseEntireRow' setting from DataGrid? this one
can be set in the PowerGrid via the gridOptions, with: groupUseEntireRow = true
Gabi Boros
Servoy
Gabi Boros
 
Posts: 399
Joined: Tue Jun 26, 2007 4:03 pm
Location: Timisoara, Romania

Re: Powergrid Group Headers

Postby swingman » Wed Sep 21, 2022 3:54 pm

Thanks Gabi, I will try that next time.

I gave up using the Powergrid and went back to using a DataGrid...
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 6 guests

cron