Clickable row

gaspara

New Member
Hi!

I would like to make the entire table row clickable. Not just a link but the whole row. I tried to find a solution here but it seems nobody tried to achieve this before. Has anybody got an idea how to make it work?

Thanks in advance,
Attila
 
Thank you very much for your answer i really appreciate it but it seems i didn't provide enough information :)

I would like to go to details view by clicking anywhere in the row. So there is no edit or details button at the end of the row. Also the "linkto details" is set to no at the element's properties. But if i click anywhere in the row i would like to get the record's detailed view.

I tried to achive it by JS but with no success. Should i use any plugin or something included in fabrik or JS gonna be the solution?

Regards,
Attila
 
http://stackoverflow.com/questions/1460958/html-table-row-like-a-link
Create a custom list template (copy default)
edit default_row.php
something like
<tr id="<?php echo $this->_row->id;?>" class="<?php echo $this->_row->class;?>" onclick="document.location = 'index.php?option=com_fabrik&view=details&formid=24&rowid=<?php echo $this->_row->data->test___id;?>&Itemid=152';" >

test___id = your id element
24 = your form id
152 = your item id
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top