Hi,
QDataGridRowStyle Height not working.
please change.
Thank you.
--
Qcodo Version : 0.4.14
some php
--
$o = $this->objdtg->RowStyle ;
$o->Height = 80 ;
--
Qcode puts
--
<div id=“c2_ctl” style=“display:inline;”><table id=“c2” class=“datagrid” cellpadding=“0” cellspacing=“0” border=“0” >
<thead>
<tr id=“c2_rowh” style=“height:80pxpx;” >
~~~~~~~
--
Patch
--
diff -pcr QDataGridRowStyle.class.php.org QDataGridRowStyle.class.php
* QDataGridRowStyle.class.php.org Tue Mar 16 02:35:21 2010
- QDataGridRowStyle.class.php Thu Apr 15 13:35:49 2010
*************
* 112,120 **
if ($this->strHeight) {
if (is_numeric($this->strHeight))
- $strStyle .= sprintf(“height:%s;”, $this->strHeight);
- else
$strStyle .= sprintf(“height:%spx;”, $this->strHeight);
}
if ($this->strForeColor)
$strStyle .= sprintf(“color:%s;”, $this->strForeColor);
- 112,120 --
if ($this->strHeight) {
if (is_numeric($this->strHeight))
$strStyle .= sprintf(“height:%spx;”, $this->strHeight);
+ else
+ $strStyle .= sprintf(“height:%s;”, $this->strHeight);
}
if ($this->strForeColor)
$strStyle .= sprintf(“color:%s;”, $this->strForeColor);
---