[CLOSED] Insert Rows in GridPanel

  1. #1

    [CLOSED] Insert Rows in GridPanel

    Hi, How Can I make? I want to insert a rows in a GridPanel but, this rows are independents of Store, Here is a example about of I want to make:

    Click image for larger version. 

Name:	InsertRowsDynamic.png 
Views:	125 
Size:	14.0 KB 
ID:	4742

    1. The green row is my header.
    2. The yellow rows are my data store from my sql server.
    3. The red rows are created dynamic to make calculations with the yellows and the final red row is created to make calculation with the others red.

    So, the rows in red color are inserted from code behind in the construction of my GridPanel with the data in yellow color, How Can I make this?

    Thank you, regards
    Last edited by Daniil; Sep 14, 2012 at 1:58 PM. Reason: [CLOSED]
  2. #2
  3. #3
    But, in my example I am not grouping data and I am not doing summary of row, I am putting calculation (substraction) data beetween rows the result of my same store, for example:

    Row1 = 1 2 3 --> From Store1
    Row2 = 5 6 7 --> From Store1
    Row3 = -4 -4 -4 -->Calculation (Row1 - Row2)
    Row4 = 3 6 8 --> From Store1
    Row5 = 3 5 2 --> From Store1
    Row6 = 0 1 6 -->Calculation (Row4 - Row6)
    Row7 = -4 -3 2 --> Calculation (Row3 + Row6)
  4. #4
    If it is not possible to organize grouping of your data, then, I am afraid, there is no way to implement it using GridPanel.

    You will need to switch to DataView or XTemplate
    https://examples2.ext.net/#/search/DataView
    https://examples2.ext.net/#/search/XTemplate
  5. #5
    Quote Originally Posted by Daniil View Post
    If it is not possible to organize grouping of your data, then, I am afraid, there is no way to implement it using GridPanel.

    You will need to switch to DataView or XTemplate
    https://examples2.ext.net/#/search/DataView
    https://examples2.ext.net/#/search/XTemplate
    Thank you Daniil, I am going to trying with this controls.

Similar Threads

  1. [CLOSED] GridPanel.Rows.Changing Background Color of Rows
    By supera in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Mar 01, 2012, 5:18 PM
  2. [CLOSED] Insert false rows in the grid.
    By stoque in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Dec 09, 2011, 7:59 AM
  3. Update/Insert only Modified/New Datagrid Rows
    By jocker_wow in forum 1.x Help
    Replies: 1
    Last Post: Jan 10, 2011, 4:22 PM
  4. Replies: 1
    Last Post: Oct 13, 2010, 11:09 PM
  5. GridPanel - 5 "Insert/Add" Rows "Preloaded"
    By Tbaseflug in forum 1.x Help
    Replies: 0
    Last Post: Apr 15, 2009, 12:31 PM

Tags for this Thread

Posting Permissions