Components for Delphi and C++ Builder.

Go to Russian forum
Go to EhLib.com
It is currently 29 Mar 2024, 07:59

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 08 Jun 2013, 16:10 
Offline

Joined: 08 Jun 2013, 16:06
Posts: 10
I tried to select RowSelect manualy in the grid by the following code

if MekatlegimListQry.Locate('Mz_UserIndexed',UserDataRec.User_Code,[]) then
begin
MekatlegimGrid.SelectedRows.CurrentRowSelected := True;
MekatlegimGrid.SelectedRows.Refresh;
MekatlegimGrid.Update;
end;

the row is selected ( that return true -
if (MekatlegimGrid.SelectedRows.Count > 0) Or
(MekatlegimGrid.Selection.SelectionType = gstAll) Then
Begin
....)

but there is no check mark on the selected list.

What do I miss


Top
 Profile  
 
PostPosted: 14 Jun 2013, 20:40 
Offline
Администратор

Joined: 22 Dec 2011, 20:19
Posts: 335
Hello

Add dgMultiSelect in the Grid.Options property.

Best regards
Admin

_________________
Best regards
Admin


Top
 Profile  
 
PostPosted: 26 Jun 2013, 22:05 
Offline

Joined: 08 Jun 2013, 16:06
Posts: 10
thanks and sory for the delay.
i was just addresing to other grid :)


Top
 Profile  
 
PostPosted: 29 Jun 2013, 03:09 
Offline

Joined: 30 May 2013, 07:05
Posts: 3
在上面增加一个全选的功能

(Translation)
Select an increase in the above function.


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 8 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:  
Powered by phpBB® Forum Software © phpBB Group