columnClassName attr is cleared when customEditor is enabled
See original GitHub issueI noticed that using customEditor
attribute of TableHeaderColumn
, when a cell gets into edit mode (customEditor
is enabled), the <td>
s className
defined by columnClassName
attribute is cleared. Once the cell isn’t being edited anymore, the className is restored.
<TableHeaderColumn
key={'column-' + h.id}
columnClassName={(h.cellEditor) ? 'editable-td': ''}
customEditor={this.formatEditor(h.id, h.cellEditor)}>
{h.label}
</TableHeaderColumn>
Is there any way to keep the className
in edit mode or pass a className
to the <td>
element when cell is in edit mode?
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Custom Editor losing settings on Play - Unity Forum
When you hit the play button in the editor, all the objects in the active scene are serialized and saved, so that unity...
Read more >CustomEditor - Scripting API - Unity - Manual
Tells an Editor class which run-time type it's an editor for. When you make a custom editor for a component, you need put...
Read more >Use CustomEditor to customize your script inspector
decorator attributes · Health cannot be under 0 and above Max Health value · Health can be a slider · When With Shield...
Read more >Custom Editor Inheritance in Unity - Stack Overflow
When you override the Character editor, you don't ever call the base methods. You need to add base.OnEnable(); to Soldier editor's OnEnable ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@AllenFang you rock man!
@jsangilve, https://github.com/AllenFang/react-bootstrap-table/releases/tag/v3.0.0-beta.6 check this out.