⚠ 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

Use multiple tabs for Grocery Crud add and edit .



vin_vin
  • profile picture
  • Member

Posted 09 August 2012 - 12:30 PM

First of all thank you for such a fantastic stuff. I have a very big table. So while listing the data i have selected the columns and only those columns are getting diaplayed so its fine. But while editing and adding records I want to show the feilds in different tabs . Like contact info in one tab , image info in second tab etc. How this can be achieved please help.

nilesht
  • profile picture
  • Member

Posted 06 September 2012 - 06:28 AM

Hello vin_vin,

I had same requirement as you. So I created a my own View for both add and edit. I had not found any direct solution from Grocery crud. You have to create a route for achieve this functionality or add some rules in .htaccess file for url routing. if you have know any other solution, then reply to this.

Thanks...

victor
  • profile picture
  • Member

Posted 06 September 2012 - 09:07 AM

do you want like this?
[attachment=269:1.jpg]
[attachment=270:2.jpg]
[attachment=271:3.jpg]

arif rh
  • profile picture
  • Member

Posted 20 September 2012 - 11:24 AM

Hello Victor, I think what they want is making form (add or edit) in tabs, like this example :

[img]http://pathfindersoftware.com/wp-content/uploads/exampleshoppingapp1.jpg[/img]

I would appreciate too if you suggest any solution :)

midnigther
  • profile picture
  • Member

Posted 20 September 2012 - 11:37 AM

This isn't a real Grocery Crud problem. You can use a tab element like this and put one grid on each tab.
http://twitter.github.com/bootstrap/javascript.html#tabs

fingersuk
  • profile picture
  • Member

Posted 20 September 2012 - 12:21 PM

Disagree its missing functionality ie. master detail style.

For example, take this forum say I wanted to show a list of members with the information about them in one or more tables easy enough. Now say for example I then start charging for subscriptions I'd want a way to manage subscriptions under that member. Under that member I there also allowed to create projects for examples, another seperate tab. As far as I can see you cant put more than one grid without mods, plus it wouldnt be effective optimised code. The screenshot is very relavant. Do you have an example that we can see (running?).