-
28 Mar 2008 5:03 PM #1
[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.
-
31 Mar 2008 12:11 PM #2
-
1 Apr 2008 5:50 AM #3
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
-
1 Apr 2008 6:14 AM #4
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:
i want to create the "standort" from a php arrray. how can i do this?PHP Code:boerse_ColumnModel = new Ext.grid.ColumnModel(
[{
header: '#',
readOnly: true,
dataIndex: 'id', // this is where the mapped name is important!
hidden: true
},{
header: 'Intervall',
hidden: true,
dataIndex: 'intervall'
},{
header: 'Zeit',
hidden: true,
dataIndex: 'intervallstep'
},{
header: 'Von',
dataIndex: 'zeit',
renderer: von
},{
header: 'Bis',
dataIndex: 'zeit',
renderer: bis
},{
header: 'Calls',
dataIndex: 'calls',
editor: new Ext.form.NumberField({ // rules about editing
allowBlank: false,
allowNegative: false,
maxValue: 5000
})
},{
header: 'Standort1',
dataIndex: 'standort1'
},{
header: 'Standort1',
dataIndex: 'standort1'
},{
header: 'Standort1',
dataIndex: 'standort1'
}]
);
boerse_ColumnModel.defaultSortable= true;
Sorry for my bad english
thanks
-
2 Apr 2008 8:07 AM #5
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.
-
3 Apr 2008 10:59 PM #6
-
4 Apr 2008 7:30 AM #7
MJ
API Search || Ext 3: docs-demo-upgrade guide || User Extension Repository
Frequently Asked Questions: FAQs
Tutorial: Grid (php/mysql/json) , Application Design and Structure || Extensions: MetaGrid, MessageWindow
-
4 Apr 2008 9:02 AM #8
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:
What does the id: do? What is the purpose and where is that used?PHP Code:PresidentsDataStore = new Ext.data.Store({
id: 'PresidentsDataStore',
Go easy on me I'm a total newb.
-
4 Apr 2008 11:25 AM #9
-
4 Apr 2008 11:36 AM #10
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.


Reply With Quote