Jump to content


Photo

Adding solid cells in the table

nextgrid columns header

  • Please log in to reply
87 replies to this topic

#81 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 7,569 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
  • 48 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,569 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
  • 48 posts

Posted 29 November 2016 - 03:33 PM

Wow! Cool!! Thx Boki!!

Super Boki !!!

#85 Ltybcrf

Ltybcrf
  • Members
  • 48 posts

Posted Yesterday, 12:54 PM

Good afternoon!

Boki please help. 1. How to compress the picture itself, but without reducing the height of the horizontal column? Already where I just did not look, played all the settings, but in any way. Help please, I attach the problem screen ..

 

Good afternoon! Boki please help. 1. How to compress the picture itself, but without reducing the height of the horizontal column? Already where I just did not look, played all the settings, but in any way. Help please, I attach the problem screen ..

 

Attached File  Clip2net_171023122155.png   23.13KB   0 downloads



#86 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted Yesterday, 09:09 PM

Hi,

Can you tell me do you use Icon column and TImageList or you use graphic column?
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.

#87 Ltybcrf

Ltybcrf
  • Members
  • 48 posts

Posted Yesterday, 10:21 PM

Hi,

Can you tell me do you use Icon column and TImageList or you use graphic column?

Attached File  Clip2net_171023222047.png   120.28KB   0 downloads

 

graphic column  and TImageList 



#88 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted Yesterday, 11:16 PM

Hi,

Maybe is better to use icon column instead? There you have Images property and you only need to put ImageIndex in AsInteger value of cell.
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.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users