Jump to content


Photo

Adding solid cells in the table

nextgrid columns header

  • Please log in to reply
89 replies to this topic

#81 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 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
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.

#82 Ltybcrf

Ltybcrf
  • Members
  • 59 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   1 downloads

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

#83 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 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
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.

#84 Ltybcrf

Ltybcrf
  • Members
  • 59 posts

Posted 29 November 2016 - 03:33 PM

Wow! Cool!! Thx Boki!!

Super Boki !!!

#85 Ltybcrf

Ltybcrf
  • Members
  • 59 posts

Posted 23 October 2017 - 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   2 downloads



#86 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 23 October 2017 - 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
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.

#87 Ltybcrf

Ltybcrf
  • Members
  • 59 posts

Posted 23 October 2017 - 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   2 downloads

 

graphic column  and TImageList 



#88 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 23 October 2017 - 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
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.

#89 Ltybcrf

Ltybcrf
  • Members
  • 59 posts

Posted 24 October 2017 - 09:52 AM

Boki the same problem the original icon is thin and the table turns fat and ugly.
It turns out that there and there beats the picture ... how to be? Is there an exit?
 
Attached File  Clip2net_171024100709.png   20.71KB   2 downloads
 
:unsure:


#90 Ltybcrf

Ltybcrf
  • Members
  • 59 posts

Posted 24 October 2017 - 11:16 AM

HOORAY! I found where to change the size)
That's how we krne suddenly who will be interested!
Anyway, thank you, you are super Boki!
Best Admin!
 
 
Attached File  Clip2net_171024111427.png   28.28KB   2 downloads






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users