Git Product home page Git Product logo

zeddbtreeview's People

Contributors

mrangelov avatar

zeddbtreeview's Issues

Parent problems

I use your component in your project, such as in the form of reference books to 
show the hierarchy. In the edit form groups provided an opportunity to change 
the parent. When I change the parent, it is immediately reflected in the tree. 
But I have not confirmed the change. When I cancel the changes, the group does 
not return to the place. In your component when the parent does save the record 
in the dataset.
So you can be by design, but it is not very convenient. I think, more properly 
reflect the change in the parent in the tree only after you save the record.

Я использую Ваш компонент в своем проекте, 
а именно в форме-справочнике для 
отображения иерархии групп. В форме 
редактирования группы предусмотрена 
возможность изменить родителя. Когда я 
изменяю родителя, это немедленно 
отражается в дереве. Но я еще не подтвердил 
изменения. Когда же я отменяю изменения, 
группа не возвращается на место. В вашем 
компоненте при изменении родителя 
делается сохранение записи в датасете.
Может быть так Вами и задумано, но это не 
очень удобно. Мне кажется, более правильно 
изменение родителя отражать в дереве 
только после сохранения записи.

Original issue reported on code.google.com by [email protected] on 16 Nov 2012 at 6:36

Attachments:

SigSegv with 1 node only

Hi, there.

Got a problem using your component.

When the table is empty, everything is ok. 
When the table has some data - parent node, more child nodes etc. it's still 
ok. 
But when the table has only one node (parent node) without any child nodes, the 
program crashes (SigSegv).
Searching for the cause i found out that the problem is at the method 
TZedDBTreeView.CheckAppend.
As it seems this happens because there's no parent for the node...

Using the version 0.8

Resolved by correcting the ZedDBTreeView.CheckAppend method, checking the 
assignment for FParentDataLink.Field before using it.

Attached the fixed .pas.


Cheers!

- Magno.GSt -

Original issue reported on code.google.com by [email protected] on 1 Jan 2014 at 1:09

Attachments:

Patch for /trunk/Source/zeddbtreeview.pas

just applied the changes from laguna's post here:

http://forum.lazarus.freepascal.org/index.php/topic,16104.msg104820.html?PHPSESS
ID=bda1c2b741a531b96b74ca858b18cb86#msg104820

"Hello,
I updated the procedure because the loop "FOR" did not read the entire DataSet"

Original issue reported on code.google.com by [email protected] on 15 Nov 2014 at 9:20

Attachments:

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.