datatable delete callback

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
3 年 前
I want to call a function after delete button done its job and redraw the grid on nopcommerce 4.3 datatable in my plugin, how can I do it?
I use this code on my datatable for rendering delete button :
                        
UrlDelete = new DataUrl("PriceDelete", "Priceb2b",null),
3 年 前
call a JavaScript function, or something on the backend?
3 年 前
New York wrote:
call a JavaScript function, or something on the backend?


Javascript function
3 年 前
Any Idea?
Help me pls
3 年 前
I solved my problem by replacing Table.cshtml in my plugin and do what I want in delete function.
But, anyway, I think there is a better way.
3 年 前
A 'clean' way to have custom JavaScript in a .cshtml file is to use a Widget (zone) and have your plugin handle it.
3 年 前
New York wrote:
A 'clean' way to have custom JavaScript in a .cshtml file is to use a Widget (zone) and have your plugin handle it.


I use widget to add new tab to edit product page, but I can't find any delete callback from datatable to call a custom js function
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.