javascript - JQuery datatable with table-layout fixed and colresizable feature -


i'm using jquery datatable , trying apply on table both features:

  • cut long strings in table cells
  • enable jquery colresizeable feature resizemode:'overflow'

but when defining colresize mode overflow- long rows not cut anymore..

table css:

#teststoexectable {    table-layout: fixed;    float: left; }  #teststoexectable.datatable thead th, #teststoexectable.datatable thead td, #teststoexectable.datatable tbody td {     padding: 4px 4px;      border-bottom: 1px;     margin: 0px;     min-width:20px;     overflow: hidden;     text-overflow: ellipsis;     white-space: nowrap; } 

colresizable code:

$('table').colresizable({       livedrag: true,       resizemode:'overflow',       disabledcolumns: [0,1] } 

is there way use both features?

actually point if hiding cells overflow uses 'table-layout: fixed' while columns resizing mode 'overflow' conflicts..

thanks lot...


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -