Jump to content


Use multiple tabs for Grocery Crud add and edit .

add edit grocery crud tab

  • Please log in to reply
5 replies to this topic

#1 vin_vin

vin_vin

    Newbie

  • Members
  • Pip
  • 2 posts

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.

#2 nilesht

nilesht

    Newbie

  • Members
  • Pip
  • 7 posts
  • LocationIndia

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

#3 victor

victor

    grocery CRUD Hero

  • Advanced Member
  • PipPipPip
  • 967 posts
  • LocationMinsk

Posted 06 September 2012 - 09:07 AM

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

#4 arif rh

arif rh

    Newbie

  • Members
  • Pip
  • 6 posts

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 :

Posted Image

I would appreciate too if you suggest any solution :)

#5 midnigther

midnigther

    Advanced Member

  • Members
  • PipPipPip
  • 44 posts
  • LocationPortugal

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
"Genius is 1% inspiration and 99% perspiration." - Thomas Edison

#6 fingersuk

fingersuk

    Newbie

  • Members
  • Pip
  • 1 posts

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





Also tagged with one or more of these keywords: add, edit, grocery crud, tab

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users