Page 1 of 1
Get value from checkbox after editing from report viewer
Posted: Thu Feb 06, 2020 1:00 pm
by dinhngocdiepcnttk36
Hi.
I clicked on this checkbox, as in the attached image, the checkbox labeled 1, I want to get the value of the checkbox after clicking.
I am using Report.JS in Javascript.
Thank you very much.
Re: Get value from checkbox after editing from report viewer
Posted: Fri Feb 07, 2020 10:30 am
by HighAley
Hello.
Could you describe the issue more detailed?
Where do you want to get this value?
What is your scenario?
Thank you.
Re: Get value from checkbox after editing from report viewer
Posted: Sat Feb 08, 2020 12:11 am
by dinhngocdiepcnttk36
Thanks HighAley!
I am sorry for not replying soon.
I tick the checkbox in the table, then I click the "get values" button, when I click the "get values" button I want to get a list of the values for all the checkboxes in the table.
I have tried using report.saveDocumentToJsonString (). but it does not get the correct value in the checkbox list, checkbox 1 has the value is still false. You can see more information in the picture I attached.
Please help me. Thank you very much!.
Re: Get value from checkbox after editing from report viewer
Posted: Mon Feb 10, 2020 12:42 pm
by HighAley
Hello,
Where do you get the report from?
You should get it from the Viewer.
Thank you.
Re: Get value from checkbox after editing from report viewer
Posted: Mon Feb 10, 2020 12:49 pm
by dinhngocdiepcnttk36
Hi!.
Thank you very much. I have solved it
Re: Get value from checkbox after editing from report viewer
Posted: Tue Feb 11, 2020 7:34 am
by Andrew
Okay, great!