Jump to content

TUniDbgrid how get cell value and column name from cell?


Ulugbek

Recommended Posts

No, not in the edit mode.

Thanks for the response, but in the meantime i just found new solution for my problem. I just use cellkeydown function, which is simpler:

  _uniDBGrid.ClientEvents.ExtEvents.Values['cellkeydown'] :=
    'function cellkeydown(sender, td, cellIndex, record, tr, rowIndex, e, eOpts) '
      +'{ '
      +'   if ((e.ctrlKey) && (e.keyCode == 67)){ '
      +'      navigator.clipboard.writeText(td.innerText);'
      +'   }'
      +'}';

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