Comments (4)
@komarovalexander yep, will do it a while
from ka-table.
Hi @AlexK0210
Thanks for feedback!
May I ask you to fork one of these stackblitz examples
ts https://stackblitz.com/edit/table-add-row-ts-geh46e?file=Demo.tsx
or
js https://stackblitz.com/edit/table-add-row-js-gfpwvc?file=Demo.js
and give the link with the reproduced issue
from ka-table.
Hi @AlexK0210
You have to use updateEditorValue
and it will work fine:
https://stackblitz.com/edit/table-add-row-ts-yprynw?file=Demo.tsx
Thanks for the question again! let me know if you have any issues
from ka-table.
Hey, I'm stuck in a similar issue. Using updateEditorValue solves the issue of a new row being created below. But with custom editor and custom display cell case 'keyType': return <KeyTypeDisplay {...props} />;
where the dataType is a type of DataType.Object.
after setting updateEditorValue, the Display component is receiving the 'value' as undefined and 'rowKeyValue' also as 'undefined' (same Table component passes 'rowKeyValue' as an empty object ({}) for editor.). So what ever value is set in editor is not being sent to the display cell when adding new row.
Kindly let me know I am going wrong anywhere.
Thanks
from ka-table.
Related Issues (20)
- How to render image inside the cell HOT 1
- [Question] Is it possible to use different filteringModes on different columns? HOT 3
- If a column is an object, how ka-table is going to generate header values? HOT 9
- Add ability to customize filterItemText childComponent
- Header filter should support filter function as filterRow does
- [Question] How to get rid of 'x' in search HOT 2
- Resize column action ignores min-width on Firefox HOT 2
- Uncheck all is too slow when I have a lot of data HOT 1
- Header Filter Popup Mispositioned with Horizontal Scrolling Table HOT 1
- Bulk select HOT 1
- support placeholder HOT 2
- Is rows ordering persistent? HOT 1
- Column in ITableProps does not contain the property 'editor' HOT 1
- Using the SelectionHeader example from the docs cause crash when 'dispatch' function is passed into the table component. HOT 1
- Filter operators isEmpty and isNotEmpty are Non-functional HOT 2
- Make table cell clickable HOT 1
- How to group by an object cell HOT 9
- Actual filtered data HOT 1
- sort prop in ka-table not supporting server-side sorting HOT 3
- Reordering group of colomns HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ka-table.