How can i add the checkbox dynamically in a dynamic gridpanel(Row Expander Plugin with Gridpanel)

  1. #1

    How can i add the checkbox dynamically in a dynamic gridpanel(Row Expander Plugin with Gridpanel)

    Hi,


    How i can add the checkbox or any controls dynamically in a dynamic gridpanel.I used this example for this pupose.
    "Row Expander Plugin with GridPanel"
    "Everything is working fine.Except this checkbox.




    GridPanel grid = new GridPanel
                {
                    ID = "GridPanelRow_" + id,
                    StoreID = "{raw}StoreRow_" + id,
                    Height = 200
                };
                grid.ColumnModel.Columns.AddRange(new Column[] { 
                new Column 
                {
                    ColumnID = "TablesName",
                    Header = "Tables Name",
                    DataIndex = "TablesName"
                },
                new Column
                {
                    Header = "Item",
                    DataIndex = "ItemName"
                    
                },
                new Column
                {
                    Header = "Quantity",
                    DataIndex = "Quantity"
                    
                },
                
                new Column
                {
                    Header = "Unit Price",
                    DataIndex = "Price"
                    
                },
                new Column
                {
                    Header = "Order Date",
                    DataIndex = "OrderTime"
                },
                new Column
                {
                    Header = "OrderStatus",
                    DataIndex = "OrderStatus"
                },
                new CheckboxColumn
                {
                }
    Please help me.3 times i put this post.Nobody give me the reply.
  2. #2
    Hi,

    You have to call RegisterColumnPlugins method of GridPanel after dynamic rendering
  3. #3

    How can i add the checkbox dynamically in a dynamic gridpanel(Row Expander Plugin with Gridpanel)

    Hi,

    Can you give one example here?

    Quote Originally Posted by Vladimir View Post
    Hi,

    You have to call RegisterColumnPlugins method of GridPanel after dynamic rendering
  4. #4

    Dynamic Gridpanel with Dynamic checkbox

    Quote Originally Posted by NishaLijo View Post
    Hi,


    How i can add the checkbox or any controls dynamically in a dynamic gridpanel.I used this example for this pupose.
    "Row Expander Plugin with GridPanel"
    "Everything is working fine.Except this checkbox.




    GridPanel grid = new GridPanel
                {
                    ID = "GridPanelRow_" + id,
                    StoreID = "{raw}StoreRow_" + id,
                    Height = 200
                };
                grid.ColumnModel.Columns.AddRange(new Column[] { 
                new Column 
                {
                    ColumnID = "TablesName",
                    Header = "Tables Name",
                    DataIndex = "TablesName"
                },
                new Column
                {
                    Header = "Item",
                    DataIndex = "ItemName"
                    
                },
                new Column
                {
                    Header = "Quantity",
                    DataIndex = "Quantity"
                    
                },
                
                new Column
                {
                    Header = "Unit Price",
                    DataIndex = "Price"
                    
                },
                new Column
                {
                    Header = "Order Date",
                    DataIndex = "OrderTime"
                },
                new Column
                {
                    Header = "OrderStatus",
                    DataIndex = "OrderStatus"
                },
                new CheckboxColumn
                {
                }
    Please help me.3 times i put this post.Nobody give me the reply.




    Please give the answer.5 times i posted this question.I got only one answer use plugins.That answer was not useful for me because I don't know more about plugins.Please give me one example.
  5. #5
    Hi,

    Please provide full test sample which demonsrates your scenario

Similar Threads

  1. [CLOSED] Paging Row Expander Plugin with GridPanel
    By pdcase in forum 1.x Legacy Premium Help
    Replies: 0
    Last Post: May 15, 2012, 7:00 PM
  2. Replies: 17
    Last Post: Dec 03, 2011, 1:21 PM
  3. [CLOSED] Row Expander Plugin with GridPanel
    By deejayns in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jan 27, 2011, 8:06 PM
  4. Replies: 0
    Last Post: Sep 20, 2010, 11:19 AM
  5. Row Expander Plugin with Gridpanels
    By NishaLijo in forum 1.x Help
    Replies: 0
    Last Post: Aug 19, 2010, 12:07 PM

Posting Permissions