Jump to content

selectCell UniDbGrid


Recommended Posts


into the prior release (Extjs3.*) into the ExtEvents properties there was the OnSelect event; Now, using the code below, I can only read the column and row values.


Now how can i set the selection on a specific cell as in the old OnSelect event?




procedure TForm1.UniDbGrid1AjaxEvent(Sender: TComponent;
 EventName: string; Params: TStrings);
 var colonna, dimensione : Integer;

 if EventName = 'select' then
    UniEdit1.Text  := Params.ValueFromIndex[0];
    UniEdit2.Text  := Params.ValueFromIndex[1];
    UniEdit3.Text  := Params.ValueFromIndex[2];
    UniEdit4.Text  := Params.ValueFromIndex[3];
    UniEdit5.Text  := Params.ValueFromIndex[4];
    UniEdit6.Text  := Params.ValueFromIndex[5];
    UniEdit7.Text  := Params.ValueFromIndex[6];

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.

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...