Page 1 of 1
Tables with fixed headers - RDMLX
Posted: Fri Apr 08, 2016 8:12 am
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.
Re: Tables with fixed headers - RDMLX
Posted: Fri Apr 08, 2016 2:46 pm
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?
Re: Tables with fixed headers - RDMLX
Posted: Fri Apr 08, 2016 3:35 pm
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.
Re: Tables with fixed headers - RDMLX
Posted: Fri Apr 08, 2016 3:53 pm
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.