locked
Show text only if row is drill downed RRS feed

  • Question

  • User1226526163 posted

    Hi,

    I have a rowgruop that is drill down enabeled. I whant to display a text in a textbox if it is drilled down (user cklicks on the +) is there a way to do that? in the textbox property. Like an expression for the label.

    Wednesday, June 22, 2011 6:00 AM

Answers

  • User1471008070 posted

    Hi,

    You can consider to add a tooltip to the textbox with "+" sign, with the tooltip, it seems there is a text in the textbox if it is drilled down. If I misunderstand you, please feel free to let us know.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, June 23, 2011 2:04 AM

All replies

  • User-1572723252 posted

    Hi,

    I gues there is no propert as such in the textbox. Alternatively, you can show an image ('+') and on click of that you can add text as well hide controls/rows. Please see the below javascript code,

    img - Id of the Image control displaying the Expand/Collapse image.

    div - Id of the div/Row to be hidden/dispalyed.

    function change_image(img, div)
    {
        if(document.getElementById(div).style.display=='none')
        {
            document.getElementById(div).style.display = "block";
            document.getElementById(img).src="../Images/collapse.gif";
        }
        else
        {
            document.getElementById(div).style.display = "none";
            document.getElementById(img).src="../Images/expand.gif";
        }
    }

    Wednesday, June 22, 2011 6:14 AM
  • User1471008070 posted

    Hi,

    You can consider to add a tooltip to the textbox with "+" sign, with the tooltip, it seems there is a text in the textbox if it is drilled down. If I misunderstand you, please feel free to let us know.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, June 23, 2011 2:04 AM