ncannasse / castle

A structured database with a local web service to edit it
ISC License
559 stars 77 forks source link

Sheet headers should be visible when scrolling a sheet #35

Open Northburns opened 8 years ago

Northburns commented 8 years ago

When scrolling a sheet with many rows, the headers scroll with the rows; ie. the headers are visible only when looking at the top screenful of rows.

The feature is known as "frozen rows" in Excel and Google Sheets, it's quite useful.

ncannasse commented 8 years ago

I agree, but do you have a suggestion how to do that easily with tables in CSS ?

Northburns commented 8 years ago

True, that'd require a bit of wonky acrobatics with just CSS.. If I come across something (maybe when CSS4 is a thing), I try to remember to return to this issue :)

Would this thing become simpler if implemented together with resizeable columns, though? (assuming that would have any weight on the feature backlog) (I'm spitballing here, of course. Sorry for not being that familiar with CastleDB's code base)

ncannasse commented 8 years ago

Resizable columns are a good idea but it would require to save the settings in html5 storage on a per cdb file basis. Le 22 janv. 2016 10:46 AM, "Northburns" notifications@github.com a écrit :

True, that'd require a bit of wonky acrobatics with just CSS.. If I come across something (maybe when CSS4 is a thing), I try to remember to return to this issue :)

Would this thing become simpler if implemented together with resizeable columns, though? (assuming that would have any weight on the feature backlog) (I'm spitballing here, of course. Sorry for not being that familiar with CastleDB's code base)

— Reply to this email directly or view it on GitHub https://github.com/ncannasse/castle/issues/35#issuecomment-173863476.