FixedColumn bug cell in fixed column has long content string

FixedColumn bug cell in fixed column has long content string

taki27taki27 Posts: 4Questions: 0Answers: 0
edited February 2012 in General
Hello, i just found this

Plz go here: http://datatables.net/release-datatables/extras/FixedColumns/two_columns.html

If you try to use inspect element on any cell of the fixed column , and edit its content with a very long string , the cell will expand and cover the bottom cells. Hope anyone know how to fix it?

Replies

  • allanallan Posts: 63,542Questions: 1Answers: 10,476 Site admin
    If you edit its content's without telling it that you are doing that (there is no listener listening for you modifying the contents of a fixed cell) then yes, the layout will break - because the computed parameters are now invalid.

    If you need to update the FixedColumn based on new data in the table then use http://datatables.net/docs/FixedColumns/2.0.2/#fnUpdate_details (remember to use the DataTables API and not direct DOM manipulation, since again, you need to tell the software what is happening).

    Allan
  • taki27taki27 Posts: 4Questions: 0Answers: 0
    edited February 2012
    Thanks for reply, Allan.

    The problem I told happen when I sort column, filter in search input . When I have very long string in a cell , it show correctly when the page load, but it brokes when I try to sort or filter.

    I just change the theme of my site today , and don't know why the problem is gone, still trying to find it out

    Thanks again
This discussion has been closed.