Large table + contact form

Large table + contact form

wevikwevik Posts: 1Questions: 0Answers: 0

good afternoon

I have a large table.
Please tell me how you can implement this?
- there are 3 columns and 10,000 rows with data
- search for information in the second column
- when you click on the required line, a contact form appears, and the data from the second column is automatically entered into the "Subject" line in the contact form.

It's clear with search, but how can you do the rest?
Many thanks

Replies

  • allanallan Posts: 63,214Questions: 1Answers: 10,415 Site admin

    there are 3 columns and 10,000 rows with data

    I would Ajax load it with deferred rendering.

    search for information in the second column

    If you don't want DataTables' search to apply to the other columns, then use columns.searchable to disable search for the other columns.

    when you click on the required line, a contact form appears, and the data from the second column is automatically entered into the "Subject" line in the contact form.

    This example shows how you can add an event listener for a row click and also get the data. You can then manipulate the rest of your page as you need.

    Allan

This discussion has been closed.