The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

DJVCD (6) [Avatar] Offline
#1
Say,when I select a row in a table,the click "Delect" button,delete
this row frrom table,and meanwhile delete the corresponding record
from db also.So the problem is,when I select a row ,how can "Delete"
action get the corresponding record id in the db.Maybe I can create a
0-width cell to store record id in every row,but it is not a perfect
way,hope get your advice?thank you!
robert.hanson (173) [Avatar] Offline
#2
Re: How to register a row listener for table(for example:flextable)?
Well, there are many ways to skin a cat. How are they selecting the row in the table? There must be some sort of handler for that. You could have the ID as a known value in the handler, and give each row its own unique handler.