Git Product home page Git Product logo

react-material-ui-datatable's People

Contributors

dependabot[bot] avatar dtupalov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

react-material-ui-datatable's Issues

Add tests for model

Need to cover with tests ReactMUIDatatableModel component as it's main component in the lib.

Component not updating after changing data

Hi, when I change an item in the users array, the datatable is not re-rendering with the updated data, am I missing something? here's my code:

<ReactMUIDatatable title={'Lista de Usuarios'} data={users} columns={columns} perPage={15} toolbarSelectActions={this.customToolbarSelectActions} onStateChanged={this.handleStateChanged} />

Setup for column

Add setup for columns:

  • displayable
  • filterable
  • sortable
  • searchable

Use cases for your datatables

Colleagues, I need your help!
Please, left your use cases of using datatable in this thread!
I want to collect most common cases, to know, what you need firstly.

Thank you!

Better UX

  • Styling column title with cursor
  • Fix padding for filter list

[Feature] Deletable rows

Add native deletable rows

  • If toolbarSelectActions didn't passed, then render Delete button and native handle deleting rows
  • If toolbarSelectActions was passed, then pass handleDelete into toolbarSelectActions function and make native delete if handleDelete was called

Select "all" or "allDisplay"

Make selectionType prop, with possible types: allData - will select all current data in the table, or allDisplay - will select only visible data on the page.

Performance optimisation

Need to memo functions, that make calculation of current state, to exclude recalculation after each re-render

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.