1. #481
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,536
    Vote Rating
    380
    jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future

      0  

    Default


    See grid faq in the learn section: http://extjs.com/learn The FAQ are very comprehensive and helpful.
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid Search Plugin, ExtJS 5 Complex Data Binding using MVVM


  2. #482
    Sencha User
    Join Date
    Oct 2009
    Posts
    45
    Vote Rating
    1
    macdoug1 is on a distinguished road

      0  

    Question I think I have the ext figured out but I'm not familiar with PHP

    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?
    $_REQUEST["cmd"]($osql)

    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. Reason: Answered

  3. #483
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,536
    Vote Rating
    380
    jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future

      0  

    Default


    Sorry, this is not an educational thread, this is RecordForm plugin thread. Please avoid asking irrelevant and general questions here in the future.
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid Search Plugin, ExtJS 5 Complex Data Binding using MVVM


  4. #484
    Ext User
    Join Date
    Jan 2010
    Posts
    49
    Vote Rating
    0
    big is on a distinguished road

      0  

    Default Excuse me!

    Excuse me!


    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.

  5. #485
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,536
    Vote Rating
    380
    jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future

      0  

    Default


    The download package contains everything necessary to run the example. Of course, your server needs to have PHP 5.2+ with PDO and sqlite support installed. Also, webserver must have a write privilege to db.sqlite.
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid Search Plugin, ExtJS 5 Complex Data Binding using MVVM


  6. #486
    Ext User
    Join Date
    Jan 2010
    Posts
    15
    Vote Rating
    0
    NicP is on a distinguished road

      0  

    Default recordform plugin with mysql

    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!!

  7. #487
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,536
    Vote Rating
    380
    jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future

      0  

    Default


    I doubt you can get any server-side help on these forums. Ext JS is a client side library so I think the best would be to ask in a PHP or MySQL forum.
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid Search Plugin, ExtJS 5 Complex Data Binding using MVVM


  8. #488
    Ext User
    Join Date
    Jan 2010
    Posts
    15
    Vote Rating
    0
    NicP is on a distinguished road

      0  

    Question Record Form Plugin

    Record Form Plugin


    Hi Saki,

    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.
    Regards
    Nic

  9. #489
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,536
    Vote Rating
    380
    jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future

      0  

    Default


    If you want a custom layout of the form, the best solution is to take the logic of the original RecordForm and build upon it. The original tries to be as universal as possible making no assumptions on placement/layout of the fields. You need to add this part if you want it otherwise.
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid Search Plugin, ExtJS 5 Complex Data Binding using MVVM


  10. #490
    Ext User
    Join Date
    Jan 2010
    Posts
    15
    Vote Rating
    0
    NicP is on a distinguished road

      0  

    Default


    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..

Thread Participants: 97

  1. franklt69 (1 Post)
  2. Wolfgang (1 Post)
  3. mystix (1 Post)
  4. cobnet (8 Posts)
  5. chiphi13 (4 Posts)
  6. mike1993 (1 Post)
  7. violinista (1 Post)
  8. hui2008 (4 Posts)
  9. AlxH (12 Posts)
  10. oracio (1 Post)
  11. CINUE (2 Posts)
  12. phpcoder (3 Posts)
  13. ostghost (2 Posts)
  14. tdikarim (4 Posts)
  15. lkasdorf (3 Posts)
  16. derf (1 Post)
  17. mjlecomte (11 Posts)
  18. farracha (1 Post)
  19. jcwatson11 (2 Posts)
  20. robin30 (8 Posts)
  21. bluesapphire (1 Post)
  22. wm003 (1 Post)
  23. divxer (1 Post)
  24. escalade (2 Posts)
  25. boonkerz (5 Posts)
  26. JamesC (2 Posts)
  27. neenhouse (5 Posts)
  28. mask_hot (18 Posts)
  29. concep86 (2 Posts)
  30. sinma (2 Posts)
  31. kai5263499 (2 Posts)
  32. jcmartinez (1 Post)
  33. trak (1 Post)
  34. amit.shukld (1 Post)
  35. hsurya (1 Post)
  36. richgoldmd (1 Post)
  37. loic (7 Posts)
  38. jimpa911 (1 Post)
  39. chalu (3 Posts)
  40. damian79 (1 Post)
  41. jimkan (6 Posts)
  42. jahong (7 Posts)
  43. winnel (1 Post)
  44. joku (1 Post)
  45. josephf (2 Posts)
  46. indrajit_bin_rahwana (4 Posts)
  47. nojutsu (2 Posts)
  48. pokerking400 (15 Posts)
  49. georgiosleon (2 Posts)
  50. snilson (2 Posts)
  51. nightowl (1 Post)
  52. gthe (1 Post)
  53. descheret (1 Post)
  54. nebbian (2 Posts)
  55. se7en.hu (1 Post)
  56. towanime (2 Posts)
  57. pravidya (4 Posts)
  58. cnagel (2 Posts)
  59. extnam01 (2 Posts)
  60. Rothariger (6 Posts)
  61. dsmaevich (1 Post)
  62. uidtest (2 Posts)
  63. savant (4 Posts)
  64. aserron (1 Post)
  65. skaue (1 Post)
  66. ielektronick (1 Post)
  67. kalpan (4 Posts)
  68. jasonb885 (2 Posts)
  69. wemerson.januario (1 Post)
  70. extjs_new (23 Posts)
  71. Dumas (24 Posts)
  72. m.natarajan (1 Post)
  73. MrEnirO (4 Posts)
  74. jove76 (2 Posts)
  75. CircleCode (3 Posts)
  76. mdimino (7 Posts)
  77. flinz (2 Posts)
  78. vince (2 Posts)
  79. jmaldini (5 Posts)
  80. mixer80 (1 Post)
  81. prox00 (1 Post)
  82. macdoug1 (14 Posts)
  83. return1.at (8 Posts)
  84. islabucasgrande (1 Post)
  85. big (1 Post)
  86. NicP (9 Posts)
  87. taron133 (1 Post)
  88. araiczyk (1 Post)
  89. adhoul (1 Post)
  90. mayurid (9 Posts)
  91. Kalpit (10 Posts)
  92. bizcatalyst (1 Post)
  93. Manuelbond007 (2 Posts)
  94. nasargus (1 Post)
  95. shahab_et (1 Post)
  96. stevwinata (5 Posts)
  97. tomdchi (2 Posts)