javascript - jquery table dynamic cell filtering and repositioning -


i have table displays names , each row contains 3 cells.

i filter names , using jquery it.

it works:

1) cells not match hidden script

2) cells match displayed script

3) cells match realigned horizontally, displayed left right continuously.. good

the last thing trying achieve redistribuite matching cells 1 after other, no matter row located before filtering them!

so if row contains 1 match , row below contains 0 matches , row after contains 2 matches, want 3 matches shown in same row!

for example if go here:

http://jsfiddle.net/ycr73/1/

and type "a" in search field, 2 results. won't them in same row, after filtering cell "fffaaa" near "aaafff", not below it!

i don't know there's particularly reasonable way tables/table cells. able splice quick jsfiddle replacing table set-width div , table-cells floated divs. way hiding other 'cells' automatically re-aligns 'rows'.


Comments

Popular posts from this blog

jasper reports - Fixed header in Excel using JasperReports -

media player - Android: mediaplayer went away with unhandled events -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -