hongjs
hongjs
following this feature
following this feature
> have you set sort:true ? did you mean sorting:true ? I believe default value of **sorting** is true, both **options** and **columns**
yes, It seem like a bug, defaultSort are inside "columns", Columns are changeable by useEffect. so, defaultSort should be changeable as well.
> You can use the following workaround for now, if you would like.. > > [Live Demo Here](https://stackblitz.com/edit/material-table-starter-template-azqwfv) > > ```js > import React, { useState, useEffect } from "react";...
@Domino987 Thank you so much for the help
try this ``` { title: 'title_text', field: 'field_name', render: row => { row["field_name"] /*formatting code here*/ } } ```
did you try this? onOrderChange(orderedColumnId, orderDirection)
this could help options: { thirdSortClick: false }