Hello.
Please help me. I need to select some column for delete all values in each rows. Is it possible in TNextGrid?
Select column
Started by leonidus, Jun 08 2012 09:05 AM
4 replies to this topic
#1
Posted 08 June 2012 - 09:05 AM
#2
Posted 08 June 2012 - 01:46 PM
Hi,
I am not sure what you need. You may simply select cell and then use for loop to delete all values where X = SelectedColumn property.
I am not sure what you need. You may simply select cell and then use for loop to delete all values where X = SelectedColumn property.
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.
--
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
Posted 08 June 2012 - 09:29 PM
I want to give an opportunity to user select some column and press "Del" like in Excel. If you in Excel click on column header you select full column and you can for example clear all cells.
#4
Posted 08 June 2012 - 10:40 PM
Hi,
This is unfortunately not possible. But you may use OnCellColoring event to change color of all cells in selected column.
Inside OnSelect event you refresh column and then inside OnCellColoring set CellColor var parameter.
Best regards
This is unfortunately not possible. But you may use OnCellColoring event to change color of all cells in selected column.
Inside OnSelect event you refresh column and then inside OnCellColoring set CellColor var parameter.
Best regards
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.
--
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
Posted 21 June 2012 - 01:41 PM
Ok, thanks!
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











