Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Tablesorter - column width
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Tablesorter - column width
#2061
Tablesorter - column width 14 Years, 9 Months ago Karma: 0
Is the column width adjustable?
The administrator has disabled public write access.
 
#2066
Re:Tablesorter - column width 14 Years, 9 Months ago Karma: 747
Hello,

Yes, you can use for this purpose CSS and 'widthFixed' parameter of 'ARI JTableSorter' plugin. For example, if you want that the first colemn have 100px width, you can use the following code:

Code:


{arijtablesorter widthFixed="false"}
  <table>
    <thead>
      <tr>
        <th style="width: 100px;">column1</th>
        <th>column2</th>
        <th>column3</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>content1</td>
        <td>content2</td>
        <td>content3</td>
      </tr>
      <tr>
        <td>content1</td>
        <td>content2</td>
        <td>content3</td>
      </tr>
    </tbody>
  </table>
{/arijtablesorter}



Regards,
ARI Soft
The administrator has disabled public write access.
 
#2068
Re:Tablesorter - column width 14 Years, 9 Months ago Karma: 0
Thank you.
The administrator has disabled public write access.
 
#2071
Re:Tablesorter - column width 14 Years, 9 Months ago Karma: 0
Question: "style="width: 100px;"" - where do find stuff like this? Are you referencing a property in a css for the plugin? I do not see my css.
The administrator has disabled public write access.
 
#2072
Re:Tablesorter - column width 14 Years, 9 Months ago Karma: 0
I am still having a problem. I took
your code and changed thw widths of
all three columns in HTML mode and the
cols are still equal:

==========================
{arijtablesorter widthFixed="false"} <table border="0"> <thead> <tr> <th style="width: 50px">column1</th> <th style="width: 60px">column1</th> <th style="width: 70px">column1</th> </tr> </thead> <tbody> <tr> <td>content1</td> <td>content2</td> <td>content3</td> </tr> <tr> <td>content1</td> <td>content2</td> <td>content3</td> </tr> </tbody> </table>
=======================
The administrator has disabled public write access.
 
Go to topPage: 1