[CLOSED] Grid Column Editor

  1. #1

    [CLOSED] Grid Column Editor

    
    <%@ Page Language="C#" %>
     
    <%@ Register Assembly="Coolite.Ext.Web" Namespace="Coolite.Ext.Web" TagPrefix="ext" %>
     
    <script runat="server">
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Ext.IsAjaxRequest)
            {
                Store store = this.Store1;
                store.DataSource = new object[]
                {
                    new object[] {"GridPanel1 test1"},
                    new object[] {"GridPanel1 test2"},
                    new object[] {"GridPanel1 test3"},
                };
                store.DataBind();
            }
        }
    </script>
     
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title>Coolite 0.8.X Example</title>
    </head>
    <body>
        <form runat="server">
        <ext:ScriptManager runat="server" />
        <ext:Store ID="Store1" runat="server">
            <Reader>
                <ext:ArrayReader>
                    <Fields>
                        <ext:RecordField Name="test1" />
                        <ext:RecordField Name="test2" />
                        <ext:RecordField Name="test3" />
                    </Fields>
                </ext:ArrayReader>
            </Reader>
        </ext:Store>
        <ext:GridPanel
            ID="GridPanel1"
            runat="server"
            StoreID="Store1"
            AutoHeight="true">
            <ColumnModel runat="server">
                <Columns>
                    <ext:Column Header="Test1" DataIndex="test1">
                        <Editor>
                            <ext:TextField runat="server" />
                        </Editor>
                    </ext:Column>
                </Columns>
            </ColumnModel>
           
        </ext:GridPanel>
        </form>
    </body>
    </html>
    Hi..
    i have kept a textfield in grid column to edit the data ...
    how to display textfield in grid column without clicking on that column...?
    Last edited by Daniil; May 31, 2011 at 10:46 AM. Reason: [CLOSED]
  2. #2
    Hi,

    You can use EditableGrid plugin.
  3. #3
    Quote Originally Posted by Daniil View Post
    Hi,

    You can use EditableGrid plugin.
    im using coolite version 0.8.1.987..i have not found editable grid plugin
  4. #4
    I checked it and yes, unfortunately, there is no EditableGrid plugin in Coolite 0.8.x.

    You can try to search the sencha forums and find EditableGrid plugin for ExtJS 2. To connect any custom plugin please use <ext:GeneiricPlugin>.
  5. #5
    Hi,

    Unfortunately, there is no version for ExtJS 2.x therefore such behaviour is not supported for Coolite 0.8.x

Similar Threads

  1. [CLOSED] Display mandatory icon for editor column in grid panel
    By AnulekhaK in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Sep 26, 2011, 10:13 AM
  2. [CLOSED] Grid Combo Editor - Make drop-down wider than column
    By rthiney in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Aug 02, 2011, 3:05 PM
  3. Replies: 3
    Last Post: Mar 08, 2011, 7:36 AM
  4. [CLOSED] Grid Editor with Summary in data column [1.0]
    By pdcase in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Mar 07, 2011, 9:13 AM
  5. Editor.Add for grid column not working on 0.7?
    By _Belial in forum 1.x Help
    Replies: 9
    Last Post: Mar 25, 2009, 5:12 AM

Posting Permissions