datatables Editor filed type 'select'+ action for Edit and remove buttons issues

前端 未结 1 1846
-上瘾入骨i
-上瘾入骨i 2021-01-16 09:28

Hi I have a web application built using java+struts2+hibernate. I am using dataTable Editor in displaying the contents of one of the backend table. I am new to DataTables an

1条回答
  •  无人及你
    2021-01-16 09:51

    Here is the solution for one of my issues( issue 2 of this post).

    capturing the selected row index using the event and storing index in variable as clicking of remove button happens after we select a row. now calling a function for the remove button and using $.getJSON('URL',parameters,function) I am doing the delete operation and it's working perfectly fine.

    Updated CODE:

    
    
    
    
    
    
     
    
     $( "#dialog-confirm" ).dialog( "open");
    

    0 讨论(0)
提交回复
热议问题