How to change row edit from input text to dropdown ?

How to change row edit from input text to dropdown ?

ziv@kpmbro.comziv@kpmbro.com Posts: 73Questions: 28Answers: 4

Hi

when choosing row and pressing edit, the edit screen jumps ( https://editor.datatables.net/examples/inline-editing/simple ), how can i change the inputs data to drop down ?
and the same when pressing new.

Thanks :)

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin

    Could you clarify what you mean by "jumps" please? I'm not seeing any "odd" behaviour. When I select a row and then click edit the window's scrolling isn't altered at all.

    Also, what browser and version are you using?

    Allan

  • ziv@kpmbro.comziv@kpmbro.com Posts: 73Questions: 28Answers: 4
    edited July 2016

    HI allan and thanks.

    I meant that after you choose a row and press on the edit button the div(class="DTED DTED_Lightbox_Wrapper") pops out with all the row values, and they are all text inputs.
    how can i control the data that he is showing?

    I want to set some fields to be drop sown values instead of text.

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Answer ✓

    I want to set some fields to be drop sown values instead of text.

    Use the select field type for select field type.

    Allan

  • ziv@kpmbro.comziv@kpmbro.com Posts: 73Questions: 28Answers: 4

    Working ! thanks :)

This discussion has been closed.