Welcome Guest, Not a member yet? Register   Sign In
about td width in Table Library
#3

[eluser]Andrew Ul'din[/eluser]
thanks! it is work!

some update
Code:
$out .= str_replace('>',' width="'.$this->heading_width[$j].'">',$this->template['cell_'.$name.'start']);

change width to style

Code:
$out .= str_replace('>',' style="'.$this->heading_width[$j].'">',$this->template['cell_'.$name.'start']);

like that and you can set any style to the td. for example

Code:
$this->table->set_heading_width('width: 20px;', 'width: 120px; background: #efefef;', 'cursor: pointer;');

enjoy! Smile


Messages In This Thread
about td width in Table Library - by El Forum - 10-22-2009, 10:57 AM
about td width in Table Library - by El Forum - 10-23-2009, 06:37 AM
about td width in Table Library - by El Forum - 01-26-2010, 06:40 AM



Theme © iAndrew 2016 - Forum software by © MyBB