Does anybody know where to find this

Put a face on your database
http://xataface.com/forum/
shannah wrote:templates/watch_list.html
$grid = new Dataface_RecordGrid($data);
$grid = new Dataface_RecordGrid($data, null, array(
'product_id' => 'Product ID',
'product_name' => 'Product Name',
'high_bidder' => 'High Bidder'
));
etc...
shannah wrote:Oh.. yes. Looks like these are taken directly from the SQL query in
actions/watch_list.php
Unfortunately you can't just change the labels in the query because they are used as part of the query . However you can manually assign the labels for the RecordGrid (the component used to display the table). Only the line:
- Code: Select all
$grid = new Dataface_RecordGrid($data);
You can add a third parameter with the column labels. E.g:
- Code: Select all
$grid = new Dataface_RecordGrid($data, null, array(
'product_id' => 'Product ID',
'product_name' => 'Product Name',
'high_bidder' => 'High Bidder'
));
etc...
But you'll need to make sure that you have a label for every column.
-Steve