Jump to content


Photo

Adding solid cells in the table

nextgrid columns header

  • Please log in to reply
83 replies to this topic

#81 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 7,450 posts
  • Gender:Male

Posted 16 November 2016 - 10:44 AM

Hi,

 

Not sure if I understand, can you send me sketch as you do. Maybe it will help.


boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Members Section: bms.bergsoft.net
Articles and Tutorials: dn.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.

#82 Ltybcrf

Ltybcrf
  • Members
  • 45 posts

Posted 27 November 2016 - 04:38 PM

Boki
1. xe5 on set, it works thanks;
2. help please give an example of the code: when you click on a icon to show a ball and hide the lower line, but so that the visible line .. can not stray or video demo of the project to see?

Attached File  Clip2net_161127153803.png   99.83KB   0 downloads

I really want to implement a drop-down spoler with additional intake Rates ..

#83 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 7,450 posts
  • Gender:Male

Posted 28 November 2016 - 06:38 PM

Not sure if I understand question.

I will explain you couple of concepts:

You can add top-level rows as usual using AddRow. But, then you can add sub-rows to previously added rows.

Example:

NextGrid.AddRow;
// Add 3 sub (child) rows into first one
NextGrid.AddChildRow(0);
NextGrid.AddChildRow(0);
NextGrid.AddChildRow(0);
Now, you can expand/collapse child rows of first one:

NextGrid.Row[0].Expanded := False;
And 3 other sub-rows will disappear.

You can turn them back with Expanded := True

Now, where you will set Expanded, it's up to you. I suggest using NxIconColumn and setting Button property to True. There you will find OnButtonClick event which you can use to know when user click on ball. In this case you will read SelectedCol, SelectedRow properties.

I suggest that you try this small guide, and you will be able to understand whole concept more.
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Members Section: bms.bergsoft.net
Articles and Tutorials: dn.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.

#84 Ltybcrf

Ltybcrf
  • Members
  • 45 posts

Posted 29 November 2016 - 03:33 PM

Wow! Cool!! Thx Boki!!

Super Boki !!!





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users