add rowClass attributes
This commit is contained in:
parent
cb01ec4247
commit
51c0b94d8f
1 changed files with 2 additions and 1 deletions
|
@ -35,7 +35,7 @@ class BaseRow(object):
|
||||||
self.parent = parent
|
self.parent = parent
|
||||||
self.data = {}
|
self.data = {}
|
||||||
self.sequenceNumber = 0
|
self.sequenceNumber = 0
|
||||||
self.cssClass = ''
|
self.cssClass = 'row'
|
||||||
|
|
||||||
def getRawValue(self, attr):
|
def getRawValue(self, attr):
|
||||||
return self.data.get(attr)
|
return self.data.get(attr)
|
||||||
|
@ -124,6 +124,7 @@ class ResultSet(object):
|
||||||
|
|
||||||
def getHeaderRow(self, row, columns):
|
def getHeaderRow(self, row, columns):
|
||||||
headerRow = self.headerRowFactory(None, self)
|
headerRow = self.headerRowFactory(None, self)
|
||||||
|
headerRow.cssClass = 'headerRow'
|
||||||
headerRow.headerColumns = []
|
headerRow.headerColumns = []
|
||||||
for c in columns:
|
for c in columns:
|
||||||
if c.output:
|
if c.output:
|
||||||
|
|
Loading…
Add table
Reference in a new issue