Jump to content

Hide columns in UniStringGrid


artem_niko

Recommended Posts

Just now, Sherzod said:

First trick, you can set the width to 0.

So...Yes, maybe this is one of once way)

I think that this can make in code.

Last question: How get values from row where setting cursor? As it do in UniDBGrid, when we scroll rows or select mouse row

Link to comment
Share on other sites

6 minutes ago, Артем said:

This is question from me 🙂

procedure TMainForm.UniStringGrid1SelectCell(Sender: TObject; ACol,
  ARow: Integer; var CanSelect: Boolean);
begin
  UniPanel1.Caption := (Sender as TUniStringGrid).Cells[ACol, ARow]
end;

 

Link to comment
Share on other sites

12 minutes ago, Sherzod said:

procedure TMainForm.UniStringGrid1SelectCell(Sender: TObject; ACol,
  ARow: Integer; var CanSelect: Boolean);
begin
  UniPanel1.Caption := (Sender as TUniStringGrid).Cells[ACol, ARow]
end;

 

Hello, is it possible to get selected cell on clientSide ?

Link to comment
Share on other sites

1 minute ago, irigsoft said:

only on top (Captions)

Okay.

13 minutes ago, irigsoft said:

is it possible to get selected cell on clientSide ?

You can try this event:

function cellModel.select(sender, record, row, column, eOpts)
{
    alert(record.data[column], column, row);
}

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...