I think I have the ext figured out but I'm not familiar with PHP
Can you give me an idea on how the commands get called in the php code? I'm not familiar with php at all. I'm trying to do this in java and looking at what you are doing in the php is a little hard with my level of syntax knowledge.
I see that you create a variable $osql which is instantiating the csql but what does this do?
I would assume that it some how knows which method below to call but unsure of how?
Never mind I found a friend with PHP knowledge.
Last edited by macdoug1; 8 Jan 2010 at 12:40 PM.
27 Jan 2010, 9:02 AM
i'm a beginner. i'm downloaded source code from http://recordform.extjs.eu/ but i wasn't run search . i don't know to did did it and when i save data. the data didn't save it.
27 Jan 2010, 10:06 AM
recordform plugin with mysql
For some reason, I am battling with getting this example to work with a mysql database (as opposed to sqlite). Can anyone assist me with a working example using PHP and a mysql DB?
any help will be grand!!
1 Feb 2010, 11:08 AM
10 Feb 2010, 12:14 AM
Record Form Plugin
First of all, I love working with your gridForm plugin, it takes away a lot of the "pain" so thank you for sharing this!! I have it all working great with PHP/MySQL now! Having got this far, I am really hoping, to wrap this all up, I can somehow define my own form and layout and still use your plugin. Obviously this is possible and I know at this point your plugin doesn't support this but would you be prepared to help me get this to work?
I thought that if I passed a pre-configured form to class Ext.ux.grid.RecordForm, I could somehow make this work but unfortunately, at this point, my EXTJS knowledge is dangerous and I just end up breaking everything and having to start from the beginning each time.
Hope you have some time to get me going on this change.
10 Feb 2010, 2:30 AM
10 Feb 2010, 3:33 AM
Sure that makes sense and I understand that I would have to build onto your existing Logic, I guess I'm still pretty clueless about how to go about that. Could you suggest a good way of going about it? From what I can gather, there is a function in Ext.ux.grid.RecordForm that iterates through the grid columns and builds a simpleForm with those fields. I'm guessing this is where the changes will apply most? If this is the case, would it be as simple as parsing some values to that function?
Sorry to sound so helpless but I'm learning as I go here..