hi m using inline editing but while clicking on the edit button in the datatable editor dialog bo

hi m using inline editing but while clicking on the edit button in the datatable editor dialog bo

manish sainimanish saini Posts: 4Questions: 1Answers: 0

hi m using inline editing but while clicking on the edit button in the datatable editor dialog box is not coming up
instead it is showing data on the bottom og the page

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 15,142Questions: 1Answers: 2,586
    Answer ✓

    Hi @manish saini ,

    That shouldn't be the case - see here. It would be worth checking that you have all the CSS files. If still no success, could you link to your page or modify my test case to demonstrate the problem, please.

    Cheers,

    Colin

  • manish sainimanish saini Posts: 4Questions: 1Answers: 0

    thanks for your comments colin .yess Css was missing

    just want to know if we can override the Update button on the dialog box
    what i want to do is to sent the updated data to sharepoit list using REST

    thanks in advance

  • colincolin Posts: 15,142Questions: 1Answers: 2,586

    Hi @manish saini ,

    Yep, this example here should help. It shows how buttons can be modified - so entirely possible to do.

    Cheers,

    Colin

  • manish sainimanish saini Posts: 4Questions: 1Answers: 0
    edited November 2018

    hi Colin

    thanks again

    i am using the below code

    $('#example').on('click', 'a.editor_edit', function (e) {
            e.preventDefault();
     
            editor.edit( $(this).closest('tr'), {
                title: 'Edit record',
                buttons: 'Update'
            } );
        } );
    

    how can i specify action here to accommodate the custom code which will be executed after user clicks on update buttion

  • colincolin Posts: 15,142Questions: 1Answers: 2,586

    Hi @manish saini ,

    I'm not clear what that's doing. It looks like you've got a button that then launches Editor's editing form - is there a reason why you can't use the standard edit button?

    This would help if you could link to a test case. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

This discussion has been closed.