V5 is on its way 🚀 #333
Replies: 6 comments 3 replies
-
Do you have any plans to implement expandable columns? |
Beta Was this translation helpful? Give feedback.
-
Row Re-ordering would be awesome too: #55 |
Beta Was this translation helpful? Give feedback.
-
Do you have implemented formula.js for cell? |
Beta Was this translation helpful? Give feedback.
-
@nick-keller any updates on this? Is there any way to contribute to this. |
Beta Was this translation helpful? Give feedback.
-
When can the new version be released |
Beta Was this translation helpful? Give feedback.
-
column filter |
Beta Was this translation helpful? Give feedback.
-
I am starting a complete re-write of the library, from scratch, with the goal of being able to support more advanced features than the current model can.
Key changes
Sticky columns
It will now be possible to have as many sticky columns as desired to the left and to the right of the grid. The only constraint will be for those columns to be continuous, meaning only the N first columns can be sticky to the left, and only the N last columns can be sticky to the right.
The API would be a
sticky
key on the column object that can be either'left'
or'right'
. The component will ignore any sticky column that is not directly to the left or the right.Sticky rows
It will now be possible to have as many nested rows as desired.
Note that returning
true
is just a shorthand for{ level: 1, position: 'top' }
, and returning a number is a shorthand for the level with position top.It will also be possible to pass
'top'
or'bottom'
for a level of 1.No more cursor animation and scroll shadow
Being able to have many sticky columns and rows makes rendering the selection in a single div impossible, therefore animating it is almost impossible. The same goes for scrolling shadows.
Static rows
You will now be able to add what is called "static rows" in your data. A static row is a row that can override all props of each column. For instance you can add a static row to add a footer or header.
Headers and gutter are now simple add-ons
Now that it is possible to make any row and column sticky, the header row or gutter column are just regular columns / rows.
Rows and columns mappers
You will now be able to provide a rows and/or a columns mappers. A mapper is just an object with two keys:
This will allow you to have a clean data or columns, while being able to add gutter column or headers and footers.
By default the component will add the built-in gutter column and header row.
Multi cursor
It will be possible to display multiple cursors at once, allowing users to implement search highlights, errors display, or multi-users editing.
A cursor will simply be a function called for each visible cell that should return a component to display over the cell. This means that cursors do not have to be continuous rectangle anymore.
Window scroller
It will be possible to not specify a height and virtualize the grid based on the window.
Beta Was this translation helpful? Give feedback.
All reactions