I couldn't find how to disable header click, is it possible?
#1
Posted 13 January 2015 - 09:07 PM
#2
Posted 14 January 2015 - 01:04 AM
Hello Alex,
Set coCanClick in Options property of Column to False.
--
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 14 January 2015 - 01:25 AM
Thanks, but Double click is still working =/
#4
Posted 14 January 2015 - 04:31 PM
Hm, I will check it and fix it.
--
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 14 January 2015 - 04:33 PM
Tested now and you can not sort, and OnHeaderClick event doesn't work. Is something more that happens?
--
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.
#6
Posted 15 January 2015 - 03:44 AM
CanClick=false
but
but messages are shown when header (double)clicked
#7
Posted 15 January 2015 - 05:45 PM
Hi,
This are global events for complete grid, they are always occur.
You may use this to block some columns, inside OnClick:
MyCol := NextGrid1.GetColumnAtPos(Point(X, Y)); if not (coCanClick in MyCol.Options) then Exit;
--
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.
#8
Posted 16 January 2015 - 02:27 AM
I did it in another way, but thanks anyway
Also tagged with one or more of these keywords: NextGrid, header, click, disable
NextSuite v6 - VCL Components →
NextGrid v6 Component →
Help with NextGrid.RowHeight at runtime.Started by lsquez, 21 Aug 2018 NextGrid, RowHeight, runtime |
|
|||
NextSuite v5 - VCL Components (Previous version) →
NextGrid Component →
Click to select only. Type to overwrite. F2 to edit textStarted by myicq, 09 Jun 2018 click, edit |
|
|||
NextSuite v5 - VCL Components (Previous version) →
General Discussion →
Adding solid cells in the tableStarted by Ltybcrf, 15 Sep 2016 nextgrid, columns, header |
|
|||
NextSuite v5 - VCL Components (Previous version) →
NextGrid Component →
NextGrid headers do not support Unicode in BPLStarted by igorok, 01 Mar 2015 Unicode, NextGrid, BPL |
|
|||
NextSuite v5 - VCL Components (Previous version) →
NextGrid Component →
Suppressing highlight of the selected cells/rowsStarted by IUnknown, 30 Mar 2014 highlight, no_highlight, nextgrid and 1 more... |
|
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users