Pass id From URL to Editor

Pass id From URL to Editor

bvicilbvicil Posts: 2Questions: 1Answers: 0

i want to edit row with passing id from URL to datatables editor.

define table:
idSrc: "accounts.id",

on initComplete:

initComplete: function(settings, json) {
                <?php if($_id != ''){?>
                table.$('#row_<?=$_id?>').addClass('selected');
                table.button(1).trigger();
                <?php }?>
            }

but nothing happens. what is wrong with the code

Answers

  • allanallan Posts: 63,175Questions: 1Answers: 10,409 Site admin

    I'd really need a link to the page to be able to see the issue please.

    Allan

  • bvicilbvicil Posts: 2Questions: 1Answers: 0

    our system is close to world. it is crm of our company, site is under construction but have data. how can i give you login information? -with email etc.-

  • allanallan Posts: 63,175Questions: 1Answers: 10,409 Site admin

    If you click my name above and then click the "Send message" button, it will let you send me a PM.

    Allan

This discussion has been closed.