Skip to content
14paxton edited this page Aug 10, 2023 · 4 revisions

title: Mat-Table
permalink: ReactNotes/Mat-Table
category: ReactNotes
parent: ReactNotes
layout: default
has_children: false
share: true
shortRepo:

  • reactnotes
  • default


Table of contents {: .text-delta } 1. TOC {:toc}



https://github.com/14paxton/TableWithAsyncCall/tree/main

Use ref to update table info in parent

const updatePrivateGroupsTable = () => { if (privateGroupTableRef?.current) { privateGroupTableRef.current.onQueryChange(); } };

misc.

table ref

https://stackoverflow.com/questions/56264459/how-can-i-use-tableref-onrowselected-to-update-the-ui-via-the-onrowclick-propert

- https://github.com/mbrn/material-table/issues/686      

prop options to header from customize component

image5

Clone this wiki locally