How to make a select save its option value, but display its option text.

How to make a select save its option value, but display its option text.

sadamiqbalsadamiqbal Posts: 18Questions: 6Answers: 0

The way Datatables actually work is its displaying the select text instead of the text. In my case i am using GUID for the values, and seem so irrelevant to display GUID to end users. Can you please help me find a solution.

This question has an accepted answers - jump to answer

Answers

  • sadamiqbalsadamiqbal Posts: 18Questions: 6Answers: 0

    thks in advance.

  • allanallan Posts: 61,669Questions: 1Answers: 10,096 Site admin
    Answer ✓

    Are you able to link us to a page showing the problem so it can be debugged please?

    The join example might be of interest to you: https://editor.datatables.net/examples/simple/join.html . You'll note that the edited data for the location contains an integer id, but the value shown to the end user is the text representation.

    Allan

  • sadamiqbalsadamiqbal Posts: 18Questions: 6Answers: 0

    Great ! Thank you very much Allan. I appreciate your time and effort. That is exactly what i was looking for.

This discussion has been closed.