Hi,
I try to hide dynamically a line in a list.
I build a button with
event : hide_product (future event to memorize the id of the product in var session but for the moment just i try to hide the line)
class : ui button icon compact
content : Caché {var:table_comparatif.row.fonds.id} (it's ok we see the product id)
url & params : id={var:table_comparatif.row.fonds.id}
dynamics ajax feature checked
dynamic result : remove/closest:tr
when i click on the button, an alert appears with : error:Forbidden
The html code for the first line in the list is :
<a class="ui button icon compact G2-dynamic" name="task_hide_product" data-url="https://www.xxx.fr/fcpi-fip/comparatif?conn=liste-fcpi&id=935&event=hide_product&tvout=view" data-result="remove/closest:tr" data-id="task_hide_product" href="https://www.xxx.fr/fcpi-fip/comparatif?conn=liste-fcpi&id=935&event=hide_product">Caché 935</a>
Any idea, please?
Regards
I try to hide dynamically a line in a list.
I build a button with
event : hide_product (future event to memorize the id of the product in var session but for the moment just i try to hide the line)
class : ui button icon compact
content : Caché {var:table_comparatif.row.fonds.id} (it's ok we see the product id)
url & params : id={var:table_comparatif.row.fonds.id}
dynamics ajax feature checked
dynamic result : remove/closest:tr
when i click on the button, an alert appears with : error:Forbidden
The html code for the first line in the list is :
<a class="ui button icon compact G2-dynamic" name="task_hide_product" data-url="https://www.xxx.fr/fcpi-fip/comparatif?conn=liste-fcpi&id=935&event=hide_product&tvout=view" data-result="remove/closest:tr" data-id="task_hide_product" href="https://www.xxx.fr/fcpi-fip/comparatif?conn=liste-fcpi&id=935&event=hide_product">Caché 935</a>
Any idea, please?
Regards
This topic is locked and no more replies can be posted.