jsf - Hiding a Panel Grid row with javascript -


since i'm not able define known count variable row id inside <h:panelgrid> table, there way hide <tr> via javascript?

i need document.getelementbyid("rowid") on onclick button attribute, there's 1 button each row. , each button has know row id.

ofcourse if want hide tr just

html:

<button onclick="hiderow(this)">

js:

function hiderow(element){ element.parentnode.parentnode.style.display='none';}


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Socket.connect doesn't throw exception in Android -

iphone - How do I keep MDScrollView from truncating my row headers and making my cells look bad? -