Comments (5)
When you are using an object-based dataset or/and columns
options the column addition is disabled. That option in the menu uses the alter()
method underneath.
To allow users to add a new column, you would need to create you own custom demo option. Here https://handsontable.com/docs/react-data-grid/context-menu/#context-menu-with-a-fully-custom-configuration you can find an example of a custom context menu.
from handsontable.
@AMBudnik With an Array of objects, adding columns is prohibited. It needs to be implemented with custom menus and alter methods, is that what you mean?
from handsontable.
Yes, that is correct @zhongguodong . Within your custom menu you would need to create an option that is altering the dataset with a new column.
from handsontable.
@AMBudnik Array of arrays mode, the menu inside the addition of columns can be. How does this work?
from handsontable.
If the dataset is an array of arrays you do not need to create a custom menu - the alter()
method will allow you to remove/add columns.
from handsontable.
Related Issues (20)
- [Bug]: Missing cell borders HOT 1
- [Bug]: Installed 14.2 but having performance and display issue not seen with 13.0, also had to convert to ES5 HOT 16
- How can i get the older version document, such as v6,v7? HOT 4
- [Bug]: Multiple sorting resets on the fifth click HOT 2
- [Bug]: custom rendorer called multiple times and did dom manipulation creating a slow performance and row misalignment HOT 1
- [Bug]: cell editor doesn't switch as intended on tab navigation between cells HOT 1
- [Bug]: Table crashes when entering a number value with a space between negative symbol and numbers HOT 1
- [Bug]: Vue 3 composition API ref error HOT 9
- Handsontable 14.3.0 is here!
- [Bug]: A bug caused by sheetRename HOT 1
- [Bug]: Property 'prototype' does not exist on type 'BaseEditor' HOT 7
- [Bug]: The bug about the ROUND function in the formula, why 21.9/0.2, keeping 0 decimal places, will get 109? In theory, the ROUND function should be rounded to 110. HOT 6
- [Bug]: In vue2, when using HotColumn slot, there is no readonly html style HOT 5
- [Bug]: Object array data source causes spliceRow call error: rowData.slice is not a function HOT 2
- [Bug]: How can the handsonTable component freeze columns on both sides HOT 3
- [Bug]: Context Menu: long texts are truncated HOT 1
- [Bug]: Submenu wrong positon when horizontal scrolling HOT 1
- [Bug]: When the table scrolls to the bottom of the page, click the date editor in the last row, the date editor will be blocked, please solve this problem, thank you HOT 1
- [Bug]: columnSummary does not include formulated cells HOT 1
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 handsontable.