-
Notifications
You must be signed in to change notification settings - Fork 164
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
Roadmap for V2.0 #3
Comments
I'm sorry @Gervwyk I'd say I won't start working on that until that PR is merged, I'm lot expert on this field, do you have any other ideas? |
No me neither. Just started looking at some of the code, do you think it would be possible to just achieve this via CellMeasurer? Similar to the way it's done in react-virtualized? |
I think |
What do you thing about configuring react-draggable and make it lazy loadable ? |
@zmitry any concern about that? I do have the plan to remove the dependency on |
@nihgwu it's used only for column resizer so it might be useless for some cases where you don't need that feature. I don't mind to have it as dependency but it takes 1/3 of the table bundlesize, so it might be quire useful to be able to import it lazily only if you use it. If you want to remove that will solve my usecase also. |
大佬 打算什么时候出新版本啊~~~~~ |
@Nokecy I don't see any MUST to bump the major version soon, until the dynamic row height dependency is resolved |
First of all I just wanted to say that I really really like the react-base-table but am unable to use it right now for the following reasons. It also seems to me that those are issues that everyone will benefit from…
Please understand this is not a criticism of what you currently have but a request to make it easier for people to understand and start use it with enough basic features out of the box. |
I definitely agree with you that documentation is important for a component and BaseTable is really bad on that, I'll try my best to add more in the future
I don't make something like
Sorry I don't understand your statement here |
To your point here. The problem is that if you have more text in a cell than the cell is able to visualize using the height of the cell/roll right now the table defaults to showing "some text..." This seems to be currently the default behavior. All I am saying is that this could be useful possibly for 10% of the people that are using the table. In essence you are forcing the other 90% to customize the table for this critical feature out of the table by telling them to use another library. This is bad experience right from the start. Why not allow for easy customization for both options ( the text to wrap and automatically extend the height of the cell/row vs. to show the "..." ).
|
@elevator3 Sorry for the late response, I missed your reply somehow, for your first point, I'd internally more then 90% of our teams/products are using fixed row height, I do want to support dynamic row height which automatically stretch/shrink on the cell's content, it's the 4th item in the roadmap, the feature in For the second, I don't see any difference by switching the the rowHeight between 130 and the default value, why |
My wish (or maybe already exists?) that if XHR response has no exact "children" key, then I don't have to transform it. My problem that I call a public API, which sends a tree-structure and the master key is "details" which is a collection. So I just rename all "details" to "children".
Sorry maybe this is an existing feature but I couldn't find. |
@gyurcigyurma that's not on the list, will add it, thanks |
Is there a WIP for this? I'm forking this project to add dynamic row height support for a project i'm working on. If I can add that support in a matter consistent w/ the v2 api, I would prefer to do so. |
@jamesonhill sorry I'm a bit busy those days, will start the work next month, the challenge to add dynamic row height support in master(v1) is that we are calculating the total height to support infinite loading, we should use another mechanism in the next version |
@nihgwu Sounds good. I will make an attempt at dynamic row heights in our fork. If we can get it working I'm happy to help w/ v2 once you have the time to begin it. |
@nihgwu Is it worthwhile for me to open a PR adding Typescript type declarations? If you'd rather wait until V2, I can add them to @DefinitelyTyped instead for V1. |
@jamesonhill I'm not ready to add type declarations in V1 as I have little knowledge on TS right now, and I'm not going to add something I'm not familiar with, sorry. So I'd prefer to add them to DefinitelyTyped for now |
Hey @jamesonhill are you still interested in the TS type declarations, I'm going to do it in V1, and based on @sskiswani 's work in #93, I'm pretty new to TS, so if you can help to make it better that would wonderful |
@nihgwu yes i can help w/ the TS types & conversion. I didn't get around to submitting a PR to @DefinitelyTyped, but I have a good start on them in our repo that I can bring over. So far so good w/ dynamic row heights. I've implemented it on one of our more basic grids (only displays & sorts data, no frozen cols or anything fancy) and it works well. Working on a more complex instance w/ resizing & freeze currently. |
cool, I just release a new version v1.10.5 within #192 which I think should be the last part for the dynamic row height feature |
I'll open a WIP PR later today w/ the start of the typings for V1. |
Any plans on including grouping by one or more columns? Just like in material table https://material-table.com/#/docs/features/grouping |
@abubakir1997 it won't be a builtin feature, you can implement it by yourself like this https://autodesk.github.io/react-base-table/examples/multi-header |
For V2, would you consider making the params for For example, with It would be nicer DX IMO if I could do something like |
@jamesonhill good idea |
I'm not sure if this has come up before. But the package doesn't really handle a large number of columns well. Or maybe I am doing something wrong....? If you play around with this you can see that with 1,000 columns it performs well but with base table just cranking the number of columns up to 1,000 here https://autodesk.github.io/react-base-table/playground scrolling down becomes very clunky. Update: Scratch that just found this - #36 This is free for me to use to I'm not complaining or anything but just some feedback as a prospective user of the library. I came here looking for a "high performance" table component. My application essentially allows any input data shapes e.g. could be 10 x 18,000,000 or 2,000 x 2,000. Typically datasets are longer than they are wide but you do encounter them especially ~100's of columns, ~1,000 is rarer but happens. As a result this library isn't really usable (at least for my purposes). It's easier to selectively render the length based on some server call but the width is a challenge. Most component library tables choke with columns ~100+. |
@gjthompson1 |
@gjthompson1 This is my thoughts on this kind of questions #36 (comment), and there is a workaround actually #36 (comment), you will find it works well with 1000 columns, and I believe there is space for further optimization, I simply made some changes on the example here #36 (comment) |
@nihgwu very nice, yeh that seems to be much smoother. Thank you! |
Hi, @nihgwu , really nice work for the library. When do we expect to have the v2 released? This roadmap has been open for 2 years. |
Need this version 2 release |
It has been more than two years since I created this ticket, a lot of things have changed, for example I'm not the admin of this repo anymore, so I can't land any changes(I revoked my 2FA to Github, I emailed to [email protected] for the permission but no response for quite a long time). Although I don't work for the project which I created this component for, but I always have the willing to make the wish-list come true. Thanks for the abandonment of IE(the only reason I used three tables to achieve frozen columns), those features could be accomplished in a super simple way and much better performance(using |
Does that mean we should not rely on this library any more? @nihgwu |
@kaleem-elahi No, even I don't use this component much as I leave the previous project, but it's a baby of mine, so I will keep on improving it(and it's still heavily used in the projects I worked on), and actually there are not much blocking issues for the current version, and I'll ask for the permission to access this repo for better maintenance, what I wanted to say is that for the next major version it's going to be a completely rewrite so it won't arrive soon |
@nihgwu any luck regaining admin/maintainer rights for this repo? |
@jamesonhill not yet, I'll contact my ex-colleague for help, seems the open-source email address is abandoned |
Hi everyone, how about just forking the project and creating a new package? |
Hey @nihgwu was curious if getting rid of the multiple grids for frozen columns would be in this roadmap? I started looking into it and have it working but some of the snapshots need to be updated. Also is this still your vision for 2.0 or have new features come into mind since its been awhile? Thanks for the awesome grid btw! :) |
Hi @nihgwu, I'm trying your base-table out. Could you please add example for column grouping because it's essential for my work, thanks. |
Here is the wishlist I'd like to have for the next major version:
Grid
for table headerreact-virtualized
withreact-window
replace react-virtualized with react-window #12Breaking changes:
rollup
to bundle packagerowRenderer
tagName
toas
orelementType
scrollToPosition
toscrollTo
headerRenderer
toheaderRowRenderer
headerRenderer
forColumn
toheaderCellRenderer
AutoResizer
to a separate packageNice to have:
The text was updated successfully, but these errors were encountered: