[CLOSED] Chage rows in a Gridpanel

  1. #1

    [CLOSED] Chage rows in a Gridpanel

    Hi
    I have a simple gridpanel that shows data, I want to be able to chaged that data. How do i do that. I tried to search the forum but I did not find any any good example.

    
    
    
    <asp:SqlDataSource ID="SqlDataSource1" runat="server"  ConnectionString="<%$ ConnectionStrings:TravelPerfectConnectionString %>" 
    SelectCommand="SELECT [Fornamn], [Efternamn] FROM [Person01]">
    
    
    </asp:SqlDataSource>
    <ext:Store ID="Store1" runat="server" DataSourceID="SqlDataSource1">
    <Reader>
    <ext:JsonReader>
    <Fields>
    <ext:RecordField Name="Fornamn" />
    <ext:RecordField Name="Efternamn" />
    </Fields>
    </ext:JsonReader>
    </Reader>
    </ext:Store>
    <ext:GridPanel runat="server" ID="GridPanel1" Width="350" Height="300" Title="Test" Frame="false" StoreID="Store1">
    
    
    <ColumnModel ID="ColumnModel1" runat="server">
    <Columns>
    <ext:Column DataIndex="Fornamn" Header="First name" Width="150" />
    <ext:Column DataIndex="Efternamn" Header="Last name" Width="150" />
    </Columns>
    </ColumnModel> 
    <SelectionModel>
    <ext:RowSelectionModel ID="RowSelectionModel1" runat="server" />
    </SelectionModel></ext:GridPanel>
    Best regards
    Mikael Jürke
  2. #2

    RE: [CLOSED] Chage rows in a Gridpanel

    Vlad wrote a good article regarding this topic a couple weeks ago:

    Click here

    Cheers,
    Timothy
  3. #3

    RE: [CLOSED] Chage rows in a Gridpanel

    Hi
    Yes I saw that post, but I dont know where to start, seems a bit confusing. I dont know which code that goes in which file. I really need a simple exapmle to get started. Does not matter which approach. :)

    Best regards
    Mikael Jürke

  4. #4

    RE: [CLOSED] Chage rows in a Gridpanel



    Hi Mikael,

    We published the "Examples Explorer" which contains 30+ GridPanel samples and should help point you the right direction.

    Hope this helps.
    Geoffrey McGill
    Founder
  5. #5

    RE: [CLOSED] Chage rows in a Gridpanel

    Yes I saw that! Thanks!
    The sample site is great by the way.

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] CalendarPanel: How to chage event character font size?
    By csssi_coolite in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Apr 25, 2011, 11:40 AM
  3. Chage CSS on tabs and Window
    By Tbaseflug in forum 1.x Help
    Replies: 1
    Last Post: Jan 04, 2011, 7:23 PM
  4. Replies: 1
    Last Post: Oct 13, 2010, 11:09 PM
  5. [CLOSED] Persisting row selected on page chage
    By Hari_CSC in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Apr 02, 2010, 5:34 PM

Posting Permissions