Column names repeated on end of the list.
Posted: Tue Oct 30, 2012 3:24 pm
Hi. I was asked by my users if I can add column names also on the end of the list view. Is it possible ?
Put a face on your database
http://xataface.com/forum/
shannah wrote:Do you need to do it dynamically or are there just some additional calculated columns you want to include?
Steve
var $thead = jQuery('#result_list thead').clone();
var $tfoot = $('<tfoot>');
$tfoot.append($thead.children());
jQuery('#result_list').append($tfoot);
function block__before_result_list(){
echo '<script src="'.htmlspecialchars(DATAFACE_URL.'/js/jquery.packed.js').'"></script>';
echo <script src="'.htmlspecialchars(DATAFACE_SITE_URL.'/js/myscript.js').'"></script>';
}
function block__before_result_list(){
Dataface_JavascriptTool::getInstance()
->import('myscript.js');
}
//require <jquery.packed.js>
.. the rest of my javascript.