Hi everyone, I need to group the data by name. It's possible to group rows in the react-data-table component.
Like This:
no it's not possible in react data table component as of now
Related
I have a react table with specific columns. I want to be able filter through those columns with a react select multi dropdown and show if the column value has changed.
is this possible? To link the column name to the multi select dropdown?
I have been trying to look for some documentation but cannot find any.
Can anyone point me in the right direction?
What I Have
I'm using "material-table": "1.67.1" sample image for show what I
need to do
What I Need to Do
I need to change columns in the table when i select dog from the drop
down already in the table using react js. as an example when i select
Dog i need to allow user to edit only two columns and when i select
cat i need to allow user to edit only one column.
Found the answer!
I used editComponent prop in material table with dropdown and then I used it's on change method to do the above task.
Thanks in advance, I wanted to know is it possible to get distinct rows from db using the filter in admin-on-rest.example, for example, I want to show a list of distinct offers running but in my database, I have the duplicate offer, is it possible using filter component in admin on rest.
I've been using Fixed Data Table and i want to show/hide rows on row click. I couldn't find anything related to show/hide or sub table in react fixed data table. Is there any way to achieve this or any other table component which will help me achieve this.
I am trying to summarize rows together based on aggregate column values.
Is there a way to use grouping and aggregate statements to do this, or do I need to give up and use a cursor? If so, what would that cursor look like?
SELECT Route
,MIN(From_Milepost) From_MilePost
,MAX(To_Milepost) To_MilePost
,Pavement_Condition
FROM [yourTable]
GROUP BY PavementCondition
,Route