Hide a row in radtreelist using javascript

3 posts, 0 answers
  1. Joehom
    Joehom avatar
    2 posts
    Member since:
    Mar 2012

    Posted 09 Jul 2013 Link to this post

    hi support,
    I have go through entire API document, there don't have a API function to hide and show a row, can you give me a advice if I want to hide/show a row in telerik what should I do?
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 10 Jul 2013 Link to this post




  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 10 Jul 2013 Link to this post

    Hi,

    Please take a look into the following code snippet I tried to hide a row in client side button click.

    Javascript:
    <script type="text/javascript">
        function HideRow() {
            var treeList = $find("<%= RadTreeList1.ClientID %>");
            treeList.get_dataItems()[1]._element.style.visibility = "hidden"; //hiding the second row      
        }
    </script>



Back to Top