clearSelectedRows doesn't work
Hi,
I waht to clear the Selection of Rows in static Table v2.
but it looks the Action "clearSelectedRows" in setFieldValue doesn't work.It's no Change in the Table.
Alle Antworten (4)
Hi
Is your example code the code you're actually running? Seeing as you don't have a variable called table.
It should be:
#setLanguageLevel 4;
HtmlElement table = getHtmlElement("table");
Map m;
table.setFieldValue("clearSelectedRows", m);
Hi Espen,
my Excample code is actually running. Here is my custom Screen to v2 table and I name the v2 Table as "table".
Then does my code work? From what I can see, you've added the static table v2 element with name "table", but in your button script you haven't defined the HtmlElement variable "table" on which you're attempting to run .setFieldValue().
Odd that you're not getting a "unknown identifier" error when saving the button script.
Hi Espen,
it doesn't works with your Code to the Button to refresh the Screen.