Need Help with the Multi Level Grid using Row Expander

  1. #1

    Need Help with the Multi Level Grid using Row Expander

    Hello Team,
    I am trying to implement the multi level grid using your esteemed product. I am able to create the Multi Level Grid up to 3 levels using the CheckBoxSelection model.
    In the button which was placed out side of the grid, I have written the code Ext.encode(#{gpClients}.getRowsValues({selectedOnly :true})) and assigned to a extra parameter.
    But if I am trying to access the child or grand child grid selected rows, I am unable to get those.
    Could you please provide me a way to do that same.

    Thanks & Regards,
    Seshu Kumar.
    Last edited by Daniil; Nov 23, 2015 at 11:04 AM.
  2. #2
    Hi @seshukumar2601,

    Please clarify do you use a CheckboxSelectionModel for all GridPanels - parent, child level 1 and child level 2? I am afraid that is not going to work.

    That is mentioned in this example:
    https://examples3.ext.net/#/GridPane...evel_GridPanel

    3. A parent and a nested GridPanels must not use row and checkbox selection models at the same time.
  3. #3

    Seshu Kumar

    Hi Danill,
    Thanks for your replay. Yes I am using the checkbox selection model for the all the grids. I am able to check uncheck the gridrows by using the check box selection model.
    But I am unable to get the inner grids from the code behind.

    Please help me to resolve the same.

    Thanks & Regards,
    Seshu Kumar.
  4. #4
    I don't think there is a way to get the inner GridPanels from code behind, but you could grab all the required data on client side via JavaScript and send it to server.

    This code snippet should help you to get inner GridPanels via JavaScript.
    http://forums.ext.net/showthread.php...l=1#post274836
    Last edited by Daniil; Nov 25, 2015 at 5:47 AM.
  5. #5

    Need to get the selected values from the inner grid from javascript

    Thanks Daniil,
    It seems that the java script That was pointed by you, will work for me. But how can I get the selected items for the inner grid in side the Java Script.

    Regards,
    Seshu Kumar.
  6. #6
    In my previous post I pointed to the code snippet where getting an inner GridPanel reference. Having that reference you should be able to get selected items.

Similar Threads

  1. [CLOSED] Is there any multi-level group in grid panel?
    By gets_gui in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: Nov 24, 2015, 8:15 AM
  2. ToolConfig and menu multi level
    By sant3 in forum 2.x Help
    Replies: 1
    Last Post: Nov 19, 2013, 8:24 PM
  3. Grid with Multi Level Row Expander
    By remeez.persent in forum 2.x Help
    Replies: 0
    Last Post: Jul 27, 2012, 12:47 PM
  4. Multi level gridpanel help?
    By Tookey21 in forum 1.x Help
    Replies: 3
    Last Post: Apr 30, 2012, 10:08 AM
  5. [CLOSED] Multi Level Grid -> Column Headers css style and alignment
    By bsnezw in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Jun 16, 2011, 3:22 PM

Tags for this Thread

Posting Permissions