Datagrid Header Cutomisation

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
mrk
Posts: 21
Joined: Mon Apr 03, 2017 6:16 am

Datagrid Header Cutomisation

Post by mrk » Sun Jan 09, 2022 4:08 pm

Hi All

just wonder if it was possible to customize a datagrid header to look like an excel sheet with oversized headers (aka merged cells) with sub headings. Hopefully the picture explains it better....
header.jpg

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10305
Joined: Wed May 06, 2009 2:28 pm

Re: Datagrid Header Cutomisation

Post by dunbarx » Sun Jan 09, 2022 4:23 pm

Hi.

Likely a "form" variety of a DG can do this, but it really does not resemble an Excel spreadsheet. Is it too much to add a separate field above the DG itself, and put your title there? Then you have complete control of the look and feel of that field.

Craig

mrk
Posts: 21
Joined: Mon Apr 03, 2017 6:16 am

Re: Datagrid Header Cutomisation

Post by mrk » Sun Jan 09, 2022 4:35 pm

Hi Craig

I did think of that, but not sure how to link the horizontal scrolling.
Vertical is good as the "header" would always be on the top.

Post Reply