Components for Delphi and C++ Builder.

Go to Russian forum
Go to EhLib.com
It is currently 28 Mar 2024, 13:17

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 09 Feb 2023, 01:15 
Offline

Joined: 29 Jan 2023, 12:44
Posts: 3
Can you control cellbuttons to show and hide in some rows according to conditions, not the whole column。
if (MemTableEh_Detail.FieldByName('AA').AsString = 'BB') then
begin
DBGridEh2.Columns[8].CellButtons[0].Visible:=true;
end else
begin
DBGridEh2.Columns[8].CellButtons[0].Visible:=false;
end;


Top
 Profile  
 
PostPosted: 25 Feb 2023, 03:50 
Offline

Joined: 08 May 2014, 18:06
Posts: 660
Hello

Unfortunately, there is no way to hide the edit button for certain records in the grid.

_________________
Best regards
EhLib Support Team


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 54 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group