gregnb / gregnb/mui-datatables

Getting rid of the length of selectedRows in customToolbarSelect text (on the left side)

Open
#1,293 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.7k
Forks
906
PR merge metrics
No merged PRs in 30d

Description

I am looking to change the title of customToolbarSelect to just
'Row Selected'
instead of
'1 Row Selected'

I have a custom toolbar component that I am using customToolbarSelect option to use but can't change the text of the toolbar, only the icons. I believe it is probably an easy change. Please let me know, thanks!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the customToolbarSelect implementation and trace how selectedRows is used to construct the toolbar title. Done means the title is rendered as "Row Selected" without the count; the issue names no file or test to run.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.