⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Insert grid in "add new record" page



jissmathew
  • profile picture
  • Member

Posted 17 January 2015 - 06:20 AM

Please help, how to add a grid in "add record" page.

 

I want insert "Bill Details" in database.

so  i need to insert multiple items.

 

1st grid contain display all stock information, and if click "add stock" then the new add window contain another grid to add multiple sock items. If i click save then all items need to save and goback to 1st grid(display all stock information). I hop you understand my problem. Please help me.


Amit Shah
  • profile picture
  • Member

Posted 17 January 2015 - 14:23 PM

Why you want to perform such activity with GC .. as you will complicate yourself with the same. Instead .. just avoid the add function and write your own custom view for the same.

 

What you need to achieve can be done but then you will have to take care of the same using quite an amount of Javascripting and also will have to manage a lot of stuff.. (before insert - extract the grid data from the data array posted) .. and (post insert of the actual record - now go back and store all the entries in the grid)

 

I have shared you both the options.. whichever you wana go with - its your choice.

 

Happy GCing :)