Jump to content


Photo

How do I accomplish this


  • Please log in to reply
1 reply to this topic

#1 pka4916

pka4916
  • Members
  • 42 posts

Posted 17 June 2020 - 05:34 AM

If I have in my databasebase the following fields

name, Country, mainindex, subindex
with the data

Tom, US, 1, 0
Donald, US, 2, 1
Rob, US, 3, 0
Ducky, US, 4, 1
Dodo, US, 5, 1

It needs to end up like

+Tom
- Donald
- Ducky
- Dodo
+ Rob

How do I accomplish that ?

Thank you clear.png



#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 17 June 2020 - 12:33 PM

Hi,

 

You need to use following method:

 

NextGrid61.AddChildRow(...);
 
There are 2 override versions of this method. First one expect index and another require reference to some other row.
 
I suggest checking inside next sub-folder:
C:\...\NextSuite 6\Demos\Next Grid\Delphi XE6
 
There are 2 Tree Column demos.
 
Hope that this helps.

boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users