Code Monkey home page Code Monkey logo

Comments (3)

nihgwu avatar nihgwu commented on May 18, 2024

That's a good question, as internally there are 3 tables to implement the column frozen feature, so it would be called 3 times, not sure what kind of feature you want to implement, but I'd say it's easy to determine which table is calling it and it's intended not passing it to the callback, maybe I would add it if it's really needed, I just don't want to bloat the API, for example you could just check the first column from columns if it's frozen and which direction it is, and you will know which table is calling the renderer

In my practice, I always take those tables as the same, and don't care about which table is calling the renderer, I guess you want implement something like column groups? I could share with a screenshot of the advanced table component we are using internally which is built on BaseTable with much more features, including grouping, selection, columns settings, columns reordering and column groups
image

from react-base-table.

nihgwu avatar nihgwu commented on May 18, 2024

I'm not sure if the column grouping feature should be builtin the BaseTable, as it's a userland feature IMO, but I will provide some snippets first

from react-base-table.

dingchaoyan1983 avatar dingchaoyan1983 commented on May 18, 2024

I am understood what you said, thank you very much

from react-base-table.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.