Git Product home page Git Product logo

В режиме редактирования не отображаются в data grid новые введенные значения полей actualStart, actualEnd, baselineStart, baselineEnd, progress, parent about anychart HOT 3 CLOSED

IgorLelyakov avatar IgorLelyakov commented on June 9, 2024
В режиме редактирования не отображаются в data grid новые введенные значения полей actualStart, actualEnd, baselineStart, baselineEnd, progress, parent

from anychart.

Comments (3)

sturdystablestalwart avatar sturdystablestalwart commented on June 9, 2024

@IgorLelyakov

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.

IgorLelyakov avatar IgorLelyakov commented on June 9, 2024

Огромное спасибо за ответ и пример!

from anychart.

sturdystablestalwart avatar sturdystablestalwart commented on June 9, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.