How can i get the DT_RowId in the background process

How can i get the DT_RowId in the background process

cinson_zhangcinson_zhang Posts: 1Questions: 1Answers: 0

I user the SpringMVC as server,but request Parameter type is "data[row_58][DT_RowId]=row_58".when i don't know the Rowid as "data[' ']",how i can get it .

Answers

  • jLinuxjLinux Posts: 981Questions: 73Answers: 75
    edited September 2015

    I think DT_RowId is just used to specify what the ID attribute will be for the rows..

  • cinson_zhangcinson_zhang Posts: 1Questions: 1Answers: 0

    I must get the parameters by the id in the server side,and update database

  • jLinuxjLinux Posts: 981Questions: 73Answers: 75

    I would just get it via jQuery, if thats what you mean

    var $this = $(this);
    var $row    = $this.closest('tr');
    var asset_id = $row.prop('id');
    

    If not, can you please be a little more specific? Maybe post some code or say what you want to do? Really having a hard time understanding what you need

This discussion has been closed.