Jump to content


Photo

Treecolumn


  • Please log in to reply
4 replies to this topic

#1 ObiWan

ObiWan
  • Members
  • 52 posts

Posted 29 October 2024 - 12:20 PM

Hi,

I'm sure this will be a silly question but I cannot find how to get the index of parent row relative to his child rows.

 

Thanks
 



#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 30 October 2024 - 01:10 AM

Hi,

 

I’m not sure if I understand unfortunately. Do you maybe think about getting AbsoluteIndex of parent? 


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.

#3 ObiWan

ObiWan
  • Members
  • 52 posts

Posted 30 October 2024 - 09:59 AM

Hi,

sorry : I have a treecolumn and I want to know the index of the parent when the row is a childrow

Thanks



#4 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 31 October 2024 - 02:05 PM

Hi,

 

Maybe something like this:

var parentIndex := NextGrid61.Row[20].ParentRow.AbsoluteIndex;

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.

#5 ObiWan

ObiWan
  • Members
  • 52 posts

Posted 04 November 2024 - 12:22 PM

..of course..
Thanks




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users