-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Sticky footer row(s) #78
Comments
This is unfortunately a showstopper for me. I need to either hack support for a "totals" row myself or try using jqGrid, which supports a "summary" row. But I'd much rather use SlickGrid. |
I have added fixed header row recently... just need to do that same for the footer. |
Hey Michael, sorry I should've updated this ticket - I added support for fixed header/footer rows in my fork in October, though it alters the Slick.Grid signature to (container,data,columns,options,totals) as I wanted to be able to define the values of the "totals" row apart from the data, vs. the original issue request which was take the last x rows of data and make them the footer. I have an example page at https://github.com/andrewchilds/SlickGrid/blob/master/examples/example15-totals.html |
Yes, I remember looking that code over. The reason that approach didn't work for me was that it was static and did not allow any manipulation of the DOM or underlying data which is a must. |
I'm starting to use SlickGrid 1.4.3, and using the example-header-row, I've copied some code from 2.0a1 to use the secondary header row as a "total row". I'd rather have it at the bottom, so I'm all for this new feature! |
In fact I just moved the header row after the $viewport (Still using 1.4.3) and now it shows at the bottom. I have some javascript to change the cell content when a row is modified (I use it as a total row). I used the following example: http://mleibman.github.com/SlickGrid/examples/example-header-row.html to get started and borrowed some code from 2.0a1 |
It's fixed footer going to be officially supported? |
I need this feature as well. Currently we hack together two grids to do it, sure would be nice to do it with one. |
Voting this feature request up by commenting... |
Bump, +1. |
Another bump, +1 |
I would like a fixed "row header" too. We have a use case where we need a both fixed column and row header. Will this support this? |
SlickGrid already has a fixed header row. On Thu, Sep 20, 2012 at 12:31 PM, Sterling Cobb [email protected]:
|
@mleibman Currently this example http://mleibman.github.com/SlickGrid/examples/example-header-row.html has a fixed column header however we are looking for the first columns rows to be fixed so we can scroll left to right and keep a column always visible on the left side of the grid. Is this possible? |
That functionality is called "fixed columns" or "frozen columns" and is not On Wed, Sep 26, 2012 at 10:16 AM, Sterling Cobb [email protected]:
|
Is fixed footer still on the todo list? |
Bump, +1. |
Yes :) |
Bump, +1. |
Yes please. Bump, +1 |
Yes, bump +1 |
Yes please! +1 |
bump bump bump 3 years on. +1 |
Yes please, +1! |
Please, +5 |
+1, ETA? |
+1 Please |
Yes please, +1 |
Which feature are you guys +1'ing? Freezing n bottom rows, or having a fixed footer row like in http://mleibman.github.com/SlickGrid/examples/example-header-row.html? If it is the former, it's not going to get implemented. In case of the latter, can you give me an actual use case for it? It just seems that most people want it for a totals row, for which it is a really really bad implementation. For totals, you should implement a data provider similar to how DataView does it. That way, the totals row will be an actual normal row that is a part of the grid as opposed to a dumb container that you have to manipulate manually. |
Please chime in. |
My +1 was for
It's been a while since I've worked on the project that prompted my +1, but I remember having trouble creating a fixed totals row using a data provider. Would you be willing to provide a specific example of a fixed footer row providing column totals using a data provider? That would probably close this out and kill all the +1s. |
My +1 was for having a fixed footer row like in |
My +1 was for having a fixed footer row like in http://mleibman.github.com/SlickGrid/examples/example-header-row.html |
I worked on a footer totals plugin that I don't have time to maintain anymore. https://github.com/JonBons/SlickGrid |
@JonBons There is an issue with column resize, the total columns doesn't align properly with grid column |
@mleibman Awesome. Will you be posting it along with the other examples so we can see it in action? |
Yep, just pushed the gh-pages and updated the wiki - http://mleibman.github.io/SlickGrid/examples/example-totals-via-data-provider.html. |
@mleibman That, sir, is precisely what I was looking for. Thanks! |
Tnx for that example @mleibman. However, what we're interested in is more the implementation @JonBons has done, with the totals in a footer below the grid, so the totals remain in view when you have more rows than fit in the viewport. @schalivendri: I don't see what you're seeing, they seem to be aligning just fine |
@JonBons Also like your other addition: http://vps.mattgraham.me/slickgrid/examples/example-plugin-summaryfooters-grouping.html. However, if I filter the records displayed using the slider, the totals in the footer do not update |
@pgbakker: When the columns widths is increased to more than the viewport width, the horizontal scrollbar appears only for viewport. If you try to scroll to right, you will see the alignment issue. |
@schalivendri ok, yes, that is what I'm seeing as well. Thought you meant that they weren't lined up initially |
@pgbakker I have fixed the issue with the totals not updating when using the slider and when groups are collapsed: http://vps.mattgraham.me/slickgrid/examples/example-plugin-summaryfooters-grouping.html If you have not messed with it yet, there is draggable groupby support in that example. The issue with the scrolling is a little more complex; I believe it is caused by the fact that the summary footer html is outside of the grid and all the manipulative stuff is being done to just the grid html. I'll have to figure out how to get the Summary Footer reacting to the events the grid is throwing and figure out how to handle that. If anyone has any idea's I'd love them. |
@JonBons I am listening to 'onColumnsResized' event on grid and resizing all columns in summary footer. This is working, but I am looking for a better solution. |
For those who wants a fixed total row, I found a plugin slickgrid-totals-plugin. |
@martin0258 To use slickgrid-totals-plugin (https://github.com/paynen/slickgrid-totals-plugin) you need to use an earlier version of SlickGrid. Note that it'll still be broken in FF, but works great in Chrome and Safari. |
Hi! I implemented this and others features on my fork: https://github.com/ddomingues/X-SlickGrid ! Take a look http://ddomingues.com/X-SlickGrid/liveDemo/examples/example-group-header.html |
+1 for merge @gkostov 's change |
Have a way to define the last x rows of data to be "sticky", like the header, so they are always visible. This will be useful for projects that have calculated column totals that must be always visible.
The text was updated successfully, but these errors were encountered: