I have a record grid without any link to sort from the column headings. I get the record from several tables but I tried from one table and it is the same. I have the 0.7.1 version of XF.
- Code: Select all
$resultat=mysql_db_query($dbname, $sql, $id_link);
$info = array();
while ( $rang = mysql_fetch_assoc($resultat) ) {
$info[]=$rang;
}
import('Dataface/SkinTool.php');
import('Dataface/RecordGrid.php');
$grid = new Dataface_RecordGrid(& $info);
df_display(array('body'=>$grid->toHtml()), 'Dataface_Main_Template.html');
I don't see any call of ajax. Do I have to add something ?
Thank you again Steve.
Jean