[CLOSED] PropertyGrid

  1. #1

    [CLOSED] PropertyGrid

    Hello everybody,


    I'm beginning in coolite and I'm looking for an example using propertygrid in cohebehind. Do you have an example?

    Thx

    Best regards


  2. #2

    RE: [CLOSED] PropertyGrid

    Hi

    After reading ExtJs documentation, my soluce is like this :

    <ext:PropertyGrid ID="PropertyGrid" runat="server" >

    <!-- Define the grid column --!>

    <ColumnModel>
    <Columns>
    <ext:Column Width="100" Align="Left" Header="Property" Sortable="true" Resizable="true" ></ext:Column>
    <ext:Column Width="300" Align="Left" Header="Value" Sortable="true" Resizable="true" ></ext:Column>
    </Columns>
    </ColumnModel>
    </ext:PropertyGrid>


    protected void Page_Load(object sender, EventArgs e)
    {
    if (!Page.IsPostBack) InitializePropertyGrid();
    }

    /// <summary>
    ///
    /// </summary>
    private void InitializePropertyGrid()
    {
    PropertyGridParameter oPropertyGridParameter = null;
    for (int i=0; i < 10; i++) {
    oPropertyGridParameter = new PropertyGridParameter();
    oPropertyGridParameter.Name = "PropertyGridName" + i;
    oPropertyGridParameter.Value = "PropertyGridValue" + i;
    oPropertyGridParameter.Mode = ParameterMode.Value;
    PropertyGrid.Source.Add(oPropertyGridParameter);
    }
    }


    Best regards
  3. #3

    RE: [CLOSED] PropertyGrid



    Hi Bernard,

    The Examples Explorer contains a basic sample demonstrating the use of the <ext:PropertyGrid>, see https://examples1.ext.net/#/Property...sic/Save_Data/

    Hope this helps.
    Geoffrey McGill
    Founder

Similar Threads

  1. [CLOSED] PropertyGrid in Menu
    By softmachine2011 in forum 2.x Legacy Premium Help
    Replies: 5
    Last Post: Jul 04, 2012, 12:21 PM
  2. [CLOSED] Propertygrid questions
    By CarWise in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Jun 06, 2012, 2:48 PM
  3. [CLOSED] PropertyGrid error
    By Marcelo in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Mar 12, 2012, 10:31 PM
  4. [CLOSED] PropertyGrid Combobox
    By Marcelo in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Jun 27, 2011, 6:56 PM
  5. [CLOSED] PropertyGrid Values
    By t0ny in forum 1.x Help
    Replies: 6
    Last Post: Oct 13, 2008, 12:41 PM

Posting Permissions