Add fields but not to show all in (front) table

Add fields but not to show all in (front) table

360webmarketin360webmarketin Posts: 3Questions: 0Answers: 0
edited April 2013 in Editor
Hello

I just bought DataTables Editor. I have the following concern:
For example I want to add 8 fields with the New button, but make visible only 5 in the table. How can I do that please?

The same concern for Edit; I want to edit not only the field that is in the table, but all data recorded for that input.

Thank you for your help
AZ

Replies

  • allanallan Posts: 63,494Questions: 1Answers: 10,470 Site admin
    Hi AZ,

    Thanks for your purchase of Editor.

    What you want to do is shown in this example: http://editor.datatables.net/release/DataTables/extras/Editor/examples/formOnlyData.html .

    This is done by simply not using the properties you don't want to show in the table in the aoColumns array of objects that describes the data for the table.

    Equally you could show date in the table, but not in the form if you wanted.

    Regards,
    Allan
  • 360webmarketin360webmarketin Posts: 3Questions: 0Answers: 0
    Thanks Allan

    Anouar
This discussion has been closed.