[CLOSED] disabling rowexpander collapsible from code behind

  1. #1

    [CLOSED] disabling rowexpander collapsible from code behind

    Hi,
    How to disable rowexpander collapsible from code behind?
    Last edited by Daniil; Oct 17, 2014 at 6:11 PM. Reason: [CLOSED]
  2. #2
    Hi @redi,

    If "collapsing" is disabled, then the expander rows cannot be collapsed - is that what you mean?
  3. #3
    Yes, because I want to add a condition when a parent row doesn't have any child, the collapsible button won't show.
  4. #4
    There is no way to disable it from code behind, but you can set up a RowExpander's Renderer and return false from there for rows that you don't want to appear with a "+/- thing. Parameters passed to a Renderer should be good enough to determine you should false or not.

Similar Threads

  1. Replies: 8
    Last Post: Apr 26, 2016, 10:50 PM
  2. Replies: 3
    Last Post: Nov 21, 2013, 3:16 AM
  3. Disabling InputMask using JS
    By joaxazevedo in forum 2.x Help
    Replies: 1
    Last Post: Mar 06, 2013, 3:17 PM
  4. [CLOSED] Rowexpander Component Items update from Code-Behind
    By amitpareek in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Feb 20, 2010, 3:09 AM
  5. [CLOSED] enabling and disabling button code behind
    By gokcemutlu in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jan 14, 2010, 10:15 AM

Tags for this Thread

Posting Permissions