|
@@ -190,6 +190,7 @@ class UI {
|
|
|
if (!empty($row['@onClick'])) $trAttrs['onClick'] = $row['@onClick'];
|
|
if (!empty($row['@onClick'])) $trAttrs['onClick'] = $row['@onClick'];
|
|
|
if (!empty($row['@class'])) $trAttrs['class'] = $row['@class'];
|
|
if (!empty($row['@class'])) $trAttrs['class'] = $row['@class'];
|
|
|
if (!empty($row['@style'])) $trAttrs['style'] = $row['@style'];
|
|
if (!empty($row['@style'])) $trAttrs['style'] = $row['@style'];
|
|
|
|
|
+ if (!empty($row['@data'])) foreach ($row['@data'] as $k => $v) $trAttrs["data-{$k}"] = $v;
|
|
|
self::startTag('tr', $trAttrs); echo "\n";
|
|
self::startTag('tr', $trAttrs); echo "\n";
|
|
|
if ($showLp) { self::tag('th', [ 'style' => "padding:2px; color:#ccc" ], $i); echo "\n"; }
|
|
if ($showLp) { self::tag('th', [ 'style' => "padding:2px; color:#ccc" ], $i); echo "\n"; }
|
|
|
foreach ($cols as $colName) {
|
|
foreach ($cols as $colName) {
|