Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed Footer Implementation with latest slickgrid #141

Closed
sreedharreddy opened this issue Feb 8, 2011 · 7 comments
Closed

Fixed Footer Implementation with latest slickgrid #141

sreedharreddy opened this issue Feb 8, 2011 · 7 comments

Comments

@sreedharreddy
Copy link

Hello Folks,

Does any one implemented fixed footer for aggregating specific columns?

Like fixed header in 2.0 alpha, when we reorder the columns the footer also needs to be reordered. When we filter the rows, appropriate data should be updated in footer section.

Please suggest me.

@mleibman
Copy link
Owner

mleibman commented Feb 9, 2011

Fixed footer is on my todo list. The implementation is extremely similar to fixed header. If you cannot wait, you can probably do it yourself by starting from a changeset that added the fixed header.

One thing you said, however, is unclear to me. When you filter rows, nothing would happen to the footer section as it is not tied to the data. You have to manage it manually.

@sreedharreddy
Copy link
Author

@mleibman

Thank you very much for your suggestion. I would implement this one for myself.

Special thanks for the grid implementation. It is superb!!!!

@MWWorks
Copy link

MWWorks commented Sep 16, 2011

A bit late for a reply, but I needed both a header row (for filters) and a footer row (for totals). Thanks to how wholly awesome SlickGrid is, and the code behind it, it was fairly easy to add.

Just search through slick.grid.js for headerRow; then for every instance of it, duplicate the line/block and change it to footerRow. Only minor deviation is the bit where it builds the whole grid; of course add the footer to it after the main viewport. Voila! You can now work with footerRow just as you would with headerRow.

I'm mainly a PHP coder and in no way a JS expert - but it was the work of about an hour to do this. And thank you Mr Leibman for SG!

@PVince81
Copy link

PVince81 commented Feb 1, 2012

Any update on this ?

1 similar comment
@andrefaria
Copy link

Any update on this ?

@dholcombe
Copy link

This appears to be a duplicate of #78. Does slickgrid have a policy of combining duplicates? Perhaps this newer issue should be closed out.

@mleibman
Copy link
Owner

Duplicate of #78.

JochenHoertreiter pushed a commit to msg-systems/slickgrid that referenced this issue Feb 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants