javascript - Skipping fields in a TinyTable application -


i using advanced javascript table sorter – tinytable v3.

after applying sorter, title fields automatically loaded dropdown list.

does know how skip 1 or 2 fields dropdown list shorter?

taking quick @ application , demo source see selector declared in html id passed script in option colddid.

after applying sorter, can find selector, traverse children , delete not want, remove 'all columns' entry in demo :

var selector = document.getelementbyid ('columns'); (el = selector.lastchild; el; el = el.previoussibling) {   // traverse last first deletions not disturb scan    if (el.innerhtml === 'all columns') {     selector.removechild (el);   } } 

caveat : untested , did not examine sources closely determine whther manipulation cause problems, test appropraitely.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -