Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Interesting improvement for fix a problem when initialize colResize plugin #22

@falinsin

Description

@falinsin

If a parent datatable contains other datatables, for example I use drilldown on the parent and contains other datatables, when I apply "dom": 'Zlfrtip' to the parent all the childs get colresize behavior.

Even more, resizing parents columns cause resizing childs datatables columns.

I have been looking into this a lot and I saw that when resizing a column colresize look for all the data-column-index attributes in all the tables with same index number and resize them.

Summarizing:

Colresize plugin does not only apply to the specific table because look for all the data-column-index attributes in all datatables.

What I need is apply "dom": 'Zlfrtip' in parent table and in every child table . But I want not interfere one table others

How can I alter the pluging code or where can I look in the initialization for try to
specify table where the colresize plugin must exercise its domain?

I do not know if I explained my problem well , I think it would be very interesting to promote this plugin with that possibility.

Thanks in advance for your help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions