Comments (3)
Q1: Is it possible to keep changes in the custom columns?
A1: Sure, you'll need to use different column set-up by utilizing setColumnFormat()
method and provide updates to values with onEditStart()
and onEditEnd()
as shown in the sample that I've put together for you.
Q2: How do I get a parent of an element assigned to a variable?
A2: You could do that by using the getParent()
method as shown in the shown in the 14 line of the sample provided above.
Using the code you've provided:
treeData.listen("treeItemMove", function (e) {
var itemName = e.item.get("name");
var itemId = e.item.get("id");
var itemParent = e.item.getParent();
chart.title(itemId + itemName + itemParent);
});
from anychart.
Огромное спасибо за ответ и пример!
from anychart.
Thank you for your question, if any new questions will come up, don't hesitate to reach out, I'm here to help.
from anychart.
Related Issues (20)
- Theme related issue in sparkline chart.
- Не отображается контекстное меню HOT 2
- Не загружается Gantt From JSON HOT 2
- Как вывести значение в колонке в Диаграмме Ганта HOT 7
- Anychart Map throwing runtime error when clicked on zoomed in state HOT 2
- 405 (METHOD NOT ALLOWED) при выполнении POST
- need better documentation
- AnyChartView doesnot show at all in UI HOT 1
- Как получить при нажатии кнопки мыши на запись в таблице в диаграмме ганта значения всех полей выбранной записи в виде массива? HOT 7
- Labels being cut off if they are positioned on the first and last point on my line chart HOT 2
- `zoomOnMouseWheel` missing from type definition for `Interactivity` HOT 1
- Не возможно на сайте войти в документацию General User's Guide, JavaScript API Reference и другие .... HOT 1
- как установить горизонтальный скроллер в диаграмме ганта? HOT 3
- Можно ли использовать одновременно горизонтальный скроллер и toolbar HOT 2
- Проблема с подключением календаря HOT 4
- Событие "row MouseUp" срабатывает 2 раза, как различить 1-е и 2-е событие HOT 2
- Как получить даты начала и окончания родительских задач HOT 1
- В chart.listen("connectorSelect"...) дублируется операция удаления разъема HOT 2
- Можно ли скрыть график и оставить только табличную часть на диаграмме ганта? 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 anychart.