Jump to content

uniDBGrid : How to get the data from the row when it was clicked or scroll.


AMIT

Recommended Posts

I wonder how can I get the data from the row when it was clicked or selected row changed. Do I have to make code in ClientEvents (ExtEvents, UniEvents)? Please, if you can give me a sample code. Thank in advance.

Link to comment
Share on other sites

When you click a row it will become the current row in the Dataset. You access row data using Dataset fields.

 

If I use arrow key to change the selected record what should I do. I try to use Afterscroll event of the clientdataset which was in the MainModule but I can't success.

Link to comment
Share on other sites

If I use arrow key to change the selected record what should I do. I try to use Afterscroll event of the clientdataset which was in the MainModule but I can't success.

 

I can use Afterscroll event if I placed it on the uniForm. I had move the clientdataset and datasource from MainModule to uniForm, it work OK.

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