[CLOSED] set grid column index

  1. #1

    [CLOSED] set grid column index

    My grid is dynamically built on server side. Is there a way to set/update column display index from server code?
    Thanks
    -Susan
    Last edited by Daniil; Aug 25, 2014 at 10:39 AM. Reason: [CLOSED]
  2. #2
    Maybe the following example can help,

    https://examples2.ext.net/#/GridPane...l/Reconfigure/
    Geoffrey McGill
    Founder
  3. #3
    OK, Thanks. By the way, do you have good example that dynamically generate grid total for a column ?
    Thanks
    -Susan
  4. #4
    I believe there are some samples in the Examples Explorer that demonstrate Summary Columns in a GridPanel.
    Geoffrey McGill
    Founder
  5. #5
    Based on the demo, I added
    .Features(
                       Html.X().Summary().ID ("Summary")
                   )
    to the gridPanel and set all
    grisColumn.SummaryType = "Sum"
    but no total summary displayed. (no error show) Am I missing any thing?
    Thanks
    -susan zhang
    Last edited by Daniil; Aug 25, 2014 at 10:30 AM. Reason: Please use [CODE] tags
  6. #6
    Hello,

    I wasn't able to find a reference to Html.X().Summary() in the MVC Examples Explorer, so I'm unsure which sample you are following.
    Geoffrey McGill
    Founder
  7. #7
    this is example site: https://examples2.ext.net/#/GridPanel/Plugins/Summary/
    I converted it to MVC format. Looks like I only need to add the Feature and set summaryType for each column. but no summary show up.
    ?
  8. #8
    Never mind. I found bug in my code. it is working now. Thanks!

Similar Threads

  1. [CLOSED] Remove Grid Column by column index.
    By pawangyanwali in forum 2.x Legacy Premium Help
    Replies: 17
    Last Post: Apr 22, 2014, 6:27 AM
  2. [CLOSED] Rebuild Row Index of column
    By immenso in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: Apr 08, 2014, 2:06 PM
  3. Replies: 0
    Last Post: Sep 27, 2012, 6:10 PM
  4. [CLOSED] Get column index with rowSelectionModel
    By RomualdAwessou in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Sep 28, 2010, 4:22 PM
  5. Replies: 3
    Last Post: Apr 08, 2010, 7:16 AM

Tags for this Thread

Posting Permissions