Custom row in GridPanel?

  1. #1

    Custom row in GridPanel?

    I would like to utilize the GridPanel to display some data, but I need more complex representation than just a straight across row. What I need to be able to do is something like the following:

    - Company 1 |
    123 Anystreet |
    Anytown, Ca 95623 |
    ---------------------------------------------------------
    - Company 2 |

    123 Anystreet |

    Anytown, Ca 95623 |
    ---------------------------------------------------------

    + Company 3 |
    ---------------------------------------------------------

    I guess the preferable method would be to utilize CSS. Is there an easy way to specify a CSS styling for the row? I also need to place some small images in the second column that will respond to clicks. I also need to be able to click on the Expand/Collapse button to hide or show the detail.

    Any help would be appreciated.
  2. #2

    RE: Custom row in GridPanel?

  3. #3

    RE: Custom row in GridPanel?

    Those look okay, but how would you do it without these? For example, what if I didn't want to utilize the Expand/Collapse buttons and just have a row that has custom format like I specified?
  4. #4

    RE: Custom row in GridPanel?

    Hi,

    If you don't want expand/collapse column then you can use GetRowClass of View*


    https://examples1.ext.net/#/GridPane...SqlDataSource/




  5. #5

    RE: Custom row in GridPanel?

    That looks like a good option as well. Thanks!

Similar Threads

  1. Replies: 6
    Last Post: Sep 09, 2011, 9:19 AM
  2. Gridpanel custom sorting
    By boris in forum 1.x Help
    Replies: 11
    Last Post: Aug 23, 2011, 2:50 PM
  3. Example of custom filter in GridPanel
    By javadzarrin in forum 1.x Help
    Replies: 0
    Last Post: Aug 23, 2010, 5:40 AM
  4. GridPanel Custom Paging
    By Hari in forum 1.x Help
    Replies: 0
    Last Post: Mar 01, 2010, 6:14 PM
  5. Saving Gridpanel changes with custom code
    By locoperoguapo in forum 1.x Help
    Replies: 2
    Last Post: Jan 07, 2009, 6:36 PM

Posting Permissions