Skip to content

Add singleAction option

Compare
Choose a tag to compare
@komarovalexander komarovalexander released this 25 Dec 18:26
· 780 commits to master since this release
fa4caa7

Added the ability to set action which will be executed only once after grid render

  import { loadData } from 'ka-table/actionCreators';
  
  const tableProps = {
    //....
    singleAction: loadData(),
    //....
  }

this is useful for remote data, see demos:
Remote Data -> Load
Remote Data -> Editing