![]() |
colspan in HTML Table class - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: colspan in HTML Table class (/showthread.php?tid=34711) |
colspan in HTML Table class - El Forum - 10-07-2010 [eluser]jepotski[/eluser] how to add a colspan attribute for a row using html table class? iam using this method but it doesn't work. Code: $reccell = array('data' => 'NAME', 'colspan' => 2); what happens is it adds a new cell with '2' as its data. Code: | NAME | 2 | colspan in HTML Table class - El Forum - 10-07-2010 [eluser]Krzemo[/eluser] AFAIK there is no such possibility. colspan in HTML Table class - El Forum - 10-07-2010 [eluser]jepotski[/eluser] [quote author="Cshamoh" date="1286470646"]AFAIK there is no such possibility.[/quote] Then why it states in this user guide that it is possible. Code: http://mpolr.21region.org/user_guide/libraries/table.html colspan in HTML Table class - El Forum - 10-07-2010 [eluser]Krzemo[/eluser] you did not mention you are using CI 2.0... are you? colspan in HTML Table class - El Forum - 10-07-2010 [eluser]jepotski[/eluser] is there already a CI 2.0? I am using version 1.7, is it possible that I only copy the Table library from CI 2.0? colspan in HTML Table class - El Forum - 10-07-2010 [eluser]Krzemo[/eluser] you are for sure using user guide from CI2.0, thus inconsistency its not officially released yet but I'm personally already using it colspan in HTML Table class - El Forum - 10-07-2010 [eluser]jepotski[/eluser] where can i download the CI 2.0? colspan in HTML Table class - El Forum - 10-07-2010 [eluser]Krzemo[/eluser] http://codeigniter.com/news/ellislab_moves_to_mercurial_assembla_bitbucket_codeigniter_2.0_baking/ colspan in HTML Table class - El Forum - 10-07-2010 [eluser]InsiteFX[/eluser] Code: $tmpl = array ( 'table_open' => '<table border="1" cellpadding="2" cellspacing="1" class="mytable">' ); InsiteFX |