Closed (fixed)
Project:
Table Export
Version:
5.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Nov 2007 at 10:33 UTC
Updated:
22 Jan 2008 at 00:51 UTC
Hi there,
I just installed this module, which looks compelling, however.. It seems to me that handling of advanced rows isn't tackeled as it should be.
If I enter rows like below all works fine:
$header = array('User', 'Address', 'Postal code', 'Place of living');
$rows[$i][] = l($account->name, 'user/'.$account->uid);
$rows[$i][] = $account->profile_address;
$rows[$i][] = $account->profile_postalcode;
$rows[$i][] = $account->profile_place;
However, with more advanced tables like below, Table Export does only return the header, without the rows.
$header = array('User', 'Address', 'Postal code', 'Place of living');
$rows[$i]['class'] = 'myClass';
$rows[$i]['data'][] = l($account->name, 'user/'.$account->uid);
$rows[$i]['data'][] = $account->profile_address;
$rows[$i]['data'][] = $account->profile_postalcode;
$rows[$i]['data'][] = $account->profile_place;
Any idea's?
Kind regards,
Baris Wanschers
Sixcolored
Comments
Comment #1
tjholowaychuk commentedInteresting I will have to look into this I am well aware of the extended arrays for cells but its true I might have missed that some how, feel free to submit a patch but I will hopefully have time soon to get to this.
Comment #2
tjholowaychuk commentedComment #3
tjholowaychuk commented