1. #1
    Ext User nbize's Avatar
    Join Date
    Nov 2007
    Location
    Toulouse, France
    Posts
    29
    Vote Rating
    0
    nbize is on a distinguished road

      0  

    Lightbulb [tutorial] Grid / PHP / SQL for newbies

    [tutorial] Grid / PHP / SQL for newbies


    Hi community,

    With the increasing number of new threads concerning the use of Grids with a PHP / SQL backend, I have put together a compilation of 12 small tutorials explaining how to build a fully functional php/sql/grid from scratch.

    You can find the tutorial here

    I hope it helps!

    Happy Griding.
    Nicolas.

  2. #2
    Ext User
    Join Date
    Mar 2008
    Posts
    6
    Vote Rating
    0
    hero2005 is on a distinguished road

      0  

    Default


    very good one

    thanx

  3. #3
    Ext User
    Join Date
    Nov 2007
    Posts
    3
    Vote Rating
    0
    hoflandr is on a distinguished road

      0  

    Default Some problems after dragging the form

    Some problems after dragging the form


    Hi, thanks for the great tutorial! It helps me a lot!

    There is a small bug after dragging the main window. The form gets disabled. In the tutorial 3 it's ok, but after 4 it doesn

  4. #4
    Sencha User
    Join Date
    Jan 2008
    Posts
    194
    Vote Rating
    0
    Richie1985 is on a distinguished road

      0  

    Default


    hey thank you very much, this tutorial is realy good for newbies like me

    but i have one problem:

    i want to build a dynamic columnmodel:

    PHP Code:
    boerse_ColumnModel = new Ext.grid.ColumnModel(
        [{
            
    header'#',
            
    readOnlytrue,
            
    dataIndex'id'// this is where the mapped name is important!
            
    hiddentrue
          
    },{
            
    header'Intervall',
            
    hiddentrue,
            
    dataIndex'intervall'
          
    },{
            
    header'Zeit',
            
    hiddentrue,
            
    dataIndex'intervallstep'
          
    },{
            
    header'Von',
            
    dataIndex'zeit',
            
    renderervon
          
    },{
            
    header'Bis',
            
    dataIndex'zeit',
            
    rendererbis
          
    },{
            
    header'Calls',
            
    dataIndex'calls',
            
    editor: new Ext.form.NumberField({  // rules about editing
                
    allowBlankfalse,
                
    allowNegativefalse,
                
    maxValue5000
              
    })
          },{
            
    header'Standort1',
            
    dataIndex'standort1'
          
    },{
            
    header'Standort1',
            
    dataIndex'standort1'
          
    },{
            
    header'Standort1',
            
    dataIndex'standort1'
          
    }]
        );
        
    boerse_ColumnModel.defaultSortabletrue
    i want to create the "standort" from a php arrray. how can i do this?

    Sorry for my bad english

    thanks

  5. #5
    Ext User stevets's Avatar
    Join Date
    Dec 2007
    Posts
    17
    Vote Rating
    0
    stevets is on a distinguished road

      0  

    Default Excellent Tutorial!

    Excellent Tutorial!


    Nicolas,

    I just wanted to say thanks for a great tutorial. I am new at Javascript but I know basic web design and am pretty good with SQL and server-side scripting.

    I have been looking at several libraries such as ext, yui, jquery, prototype, etc. I was never quite sure where to start with any of these. Your tutorial really did tie the pieces together for me and I have settled on ext for my project due in no small part to your tutorial.

    If you had a "Pay-Pal Donate" link I would have clicked on it to thank you for your work.

    I created an account on this site specifically to make this post.

  6. #6
    Ext User
    Join Date
    Mar 2008
    Posts
    6
    Vote Rating
    0
    hero2005 is on a distinguished road

      0  

    Default


    back again

    update function does not working

  7. #7
    Ext User
    Join Date
    Jul 2007
    Location
    Florida
    Posts
    9,996
    Vote Rating
    5
    mjlecomte will become famous soon enough mjlecomte will become famous soon enough

      0  

    Default


    Quote Originally Posted by hero2005 View Post
    back again

    update function does not working
    Generally you need to provide more info than that. "Does not work" is very vague. Did the js work? Your backend doesn't work? Is your computer on? Be very specific if you expect valuable help.

  8. #8
    Ext User stevets's Avatar
    Join Date
    Dec 2007
    Posts
    17
    Vote Rating
    0
    stevets is on a distinguished road

      0  

    Default Question about data store

    Question about data store


    I am reading along in the tutorial but there is something that I am having trouble understanding. In part 3 the datastore definition begins with the following:
    PHP Code:
     PresidentsDataStore = new Ext.data.Store({
          
    id'PresidentsDataStore'
    What does the id: do? What is the purpose and where is that used?

    Go easy on me I'm a total newb.

  9. #9
    Ext User
    Join Date
    Mar 2008
    Posts
    79
    Vote Rating
    0
    JoomlaMan is on a distinguished road

      0  

    Default


    This is awesome, going to read through it

  10. #10
    Ext User
    Join Date
    Feb 2008
    Posts
    22
    Vote Rating
    -1
    outrage is an unknown quantity at this point

      0  

    Default


    This is a fantastic tutorial that helped me understand much more than just the grid component.

    You deserve a medal. Thank you very much.

    We need more tutorials of this calibre.

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi