This post is related to this http://es.infragistics.com/community/forums/t/65731.aspx post and trying to get it to work client side.
When I perform
$util.addCompoundClass(removeRow.get_element(),"hiderow");
It only hides the button, instead of the entire row (there is a button in the last column), is that why this doesn't work?
Cliff
Hi Cliff,
I'm glad you solved your issue.
If you have any other questions, feel free to contact me.
WebDataGrid, but see next post.
Infragistics Chandradeep provided this answer to me:
"I would like to update you that as such currently there is no built-in property for row hiding, however using the client side with _element.style.display = "none"; and it is working fine. I have used the following code snippet on the BLOCKED SCRIPT
function btnRemove_ClickCellButtonHandler() {var grid = $find("WebDataGrid1");var aRow = grid.get_behaviors().get_activation().get_activeCellResolved().get_row();grid.get_behaviors().get_activation().get_activeCellResolved().get_row()._element.style.display = "none";}
One thing more I have done with your server side button not to make postback OnClientClick="btnRemove_ClickCellButtonHandler(); return false;" and it is working fine."
It has worked so far. :)
Are you using WebDataGrid or UltraWebGrid? Can you share your complete code for hiding the row?