Tables with fixed headers - RDMLX
Tables with fixed headers - RDMLX
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
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?
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
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.
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
Re: Tables with fixed headers - RDMLX
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.