glideapps / glide-data-grid

🚀 Glide Data Grid is a no compromise, outrageously react fast data grid with rich rendering, first class accessibility, and full TypeScript support.
https://grid.glideapps.com
MIT License
4.03k stars 292 forks source link

hope to add the fixed column render on the right. Currently, the column can only be fixed on the left #469

Open geek-lu opened 2 years ago

geek-lu commented 2 years ago

image 希望在右侧蓝色区域固定列,目前我下载了您的源代码,正在改动相关的事情

geek-lu commented 2 years ago

hope to add the fixed column render on the right. Currently, the column can only be fixed on the left

jassmith commented 2 years ago

This probably wont happen for quite a while.

Obvious api proposal

interface DataEditorProps {
    ...otherCrap,
    freezeColumns: number | [left: number, right: number];
}
geek-lu commented 2 years ago

Thank you for your reply。Maybe I can improve it。

Graceji commented 1 year ago

Thank you for your reply。Maybe I can improve it。

Have you implemented the right fixed function?@geek-lu

jassmith commented 1 year ago

I have not seen any such PR come through. It would also be relatively difficult to properly implement while retaining performance. More freeze regions means more rendering passes.

geek-lu commented 1 year ago

Thank you for your reply。Maybe I can improve it。

Have you implemented the right fixed function?@geek-lu

No, I admit it's too difficult, I used Konvajs to create a simple version of the table that can meet business needs, similar to Antv。

jassmith commented 1 year ago

There are a few other konvajs versions I've seen out there, great framework for moving fast. A+ if you can meet your business needs there 👍