Tables with fixed headers - RDMLX

Please do not use to report errors- use your regional help desk.
Please mark posts as being for RPG or RDMLX (LANSA) developer.
To subscribe by email, display this forum, scroll to the end and select ‘Subscribe Forum’.
Post Reply
soapagent
Posts: 93
Joined: Mon Jul 16, 2012 6:19 pm

Tables with fixed headers - RDMLX

Post by soapagent »

Its been a while since I did any Longrange programming but I remember this being discussed. Has anyone come up with a way of displaying a table with headers (column or row) that stay fixed while the data scrolls? I have a very strong user requirement for this. I've found a couple of html solutions and I could embed a webpage but I'd prefer a native solution.
tsupartono
Posts: 289
Joined: Wed Apr 18, 2012 10:21 am

Re: Tables with fixed headers - RDMLX

Post by tsupartono »

JIm,
If you set the table to fill the height of the form, the header row will not move.
But it will scroll horizontally with the body (except on the iOS where it's actually a bug).
Can you give more details of what you want to do?
soapagent
Posts: 93
Joined: Mon Jul 16, 2012 6:19 pm

Re: Tables with fixed headers - RDMLX

Post by soapagent »

Hi

The user has a table which is very wide which has multi-line column headers and row headers. They want to be able to scroll the data which is off screen to the right into view without losing the far left row headers which containsa list of names. They would also like to scroll up and down without losing the headers.

This JQuery plug in demo demonstrates what they want.

http://www.jqueryscript.net/demo/jQuery ... dLeft.html

Incidentally I've tried implementing this with a web view but I can't get it work and I can't work out how to debug it - the attached text file is the html actually generated by my function for the webiew.
Attachments
broadsheet.txt
(3.37 KiB) Downloaded 201 times
soapagent
Posts: 93
Joined: Mon Jul 16, 2012 6:19 pm

Re: Tables with fixed headers - RDMLX

Post by soapagent »

Further to my last post talking about a web view based solution. I've just discovered (through the miracle of google & stackoverflow) that I need to put the jquery reference before the add on reference and this now actually works within a web view.
Post Reply