Server side loading - adding tags to TR

Server side loading - adding tags to TR

arnorbldarnorbld Posts: 123Questions: 23Answers: 1

Hi guys,

I have an HTML table that is currently generated by PHP. This is a Gmail interface and needs some rather complex data tags added to the TR to communicate data information. The current code looks something like this:

$html = '<tr class="email-list-row' . $class . '"'
. ' data-emailid="' . $email->email_id . '"'
. ' data-emailgid="' . $email->gmail_id . '"'
. ' data-threadid="' . $email->gmail_thread_id . '"'
. ' data-threads="' . $email->thread_count . '"'
. ' data-attachments="' . $email->attachments_num . '"'
. ' data-emailuserid="' . $emailUserID . '"'
. ' data-emailisread="' . $emailRead . '"'
. '>'

In preparation to handle more volume as we move on we are considering using server-side loading of the data. But this has me wondering if the server-side is going to work with what we have or if we'll need to redesign the interface and how we pass data on to the reader interface when the user clicks on a row.

Any ideas or suggestions are greatly appreciated.

Best regards,
Arnor

This discussion has been closed.