on 07-20-2023 7:04 PM
Hello all,
I have an SAC Analytic Designer application, I want to add a comment to a selected table cell, using the AD script option. How do i do that ? I wrote below code, but for some reason it does not add comment to the cell.
There are no errors,
Str variable is able to copy and strore the comment text (for test purpose I can also copy it to other textbox) but I do not see a comment getting added to the table data cell. Below is the code.
var str = InputField_17.getValue();
Table_3.getDataSource().getComments().addComment(Table_3.getSelections()[0],str);
TextArea_2.setValue(str);
There can be different reasons, I'm not sure if simply get selection of table would be enough as there might be other filters impacting the table.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
8 | |
8 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.