This topic contains 3 replies, has 2 voices, and was last updated by Sean Sean 2 years, 3 months ago.

Can I add a dropdown when creating an editable datatable? editableˈeditəbəl edit


  • emre
    Participant

    Posts: 1
    Member Reply #9372

    How do I add a dropdown?

    Does not save when editing.

     

    Attachments:
    You must be logged in to view attached files.
    Sean
    Sean
    Keymaster

    Posts: 4527
    Support Staff Reply #9400

    Hi :),

    Did you modify the JS code that handles the editable datatable ? By default the editable datatable demo only supports normal text inputs. In order to fully support dropdown input you will need to customize the JS code here:
    “assets/pages/scripts/table-datatables-editable.js”

    If you need any further help please provide us more details(if possible your code and a test link to your developing site in a private reply)

    Thanks.


    emre
    Participant

    Posts: 1
    Member Reply #9406
    This reply has been marked as private.
    Sean
    Sean
    Keymaster

    Posts: 4527
    Support Staff Reply #9416

    Hi,

    Your code seems OK. But make sure you changed the table in the HTML. If you added a new column in JS you should add the new column in the HTML code as well. If you need any further help we will need to check your code online so please provide us a test link in a private reply.

    Thanks.

     

You must be logged in to reply to this topic.