In webdatagrid 12.1, When hiding a row in client side, gird header and footer have lost style and header text in chrome. can any one assist on the problem.
this is the code I have used to hide row in client side
activeRow._element.cells[1].style.display ="none";
activeRow._element.cells[1].style.visibility ="hidden";
Hello,
Thank you for using our forum!
About your issue, can I suggest you to use .get_element() instead of _element. This is because _element and all properties that starts with underscore (_) are private, they are not developed to be used by the end user, only by the developers, and they can be changed "behind the scene" without end user to notice.
My suggestion is to use get_element() to get the row and add a css class to that element which in our case will be tr.
Code snipped:
I have create you a sample that is showing how to hide rows with jQuery. If my suggestions do not help you to resolve the issue, make changes to the sample in order to reproduce it, and send it back to me to review it.
If you have any further questions do not hesitate to contact me
Hai,
Thank you for your reply and suggestion.
I wiil try your code and check it . If I have any problem, will contact you.
Hello Priyabala,
I'm just following up to see if you need any further assistance with this issue. If so please let me know
Sorry for the late reply, as per your suggestion everything works fine in IE .
But in Chrome when I hide the first row in webdatagrid, it removes the header and footer.
I'm glad that I've managed to help you!
Thank you very much for your solution, my issue is solved.
I'm just checking if you have resolved your issue.
Yes, I have managed to reproduce this issue, my suggestion is to use createSizingRow() function in order to fix this behavior. I'm sending you the definition of the click button function after the changes I have made:
If you have any further question regarding this, please do not hesitate to contact me.
Looking forward to hearing from you!