⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Freeze column



theshiftexchange

theshiftexchange
  • profile picture
  • Member

Posted 23 April 2012 - 13:17 PM

Hi,

This is an awesome library!

Quick question: is there anyway I can "freeze" a column, so when my users scroll left/right, the column remains on the screen the whole time?

Basically I have a table with 54 columns (2 columns + 1 column for each week of the year). Obviously this does not fit on the screen very well - so the users have to scroll across. This is ok, except they need to keep the first column to know which record they are looking at.

Any tips/thoughts/suggestions would be greatly appreciated.

KaBaDaBrA

KaBaDaBrA
  • profile picture
  • Member

Posted 25 April 2012 - 18:47 PM

- Using Datatables: http://datatables.net/release-datatables/extras/FixedColumns/

Refer to the link above and edit the datatables.js file

[color=#000000][font=Arial,]- Flexigrid as far as I understand does not support fixed columns[/font][/color]

[color=#000000][font=Arial,]You can use CSS and give the column a fixed position but there might be quite a bit more to that...[/font][/color]