⚠ 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 forum is read-only and soon will be archived. ⚠


Issue with read button

read button view read

  • Please log in to reply
2 replies to this topic

#1 Amit Shah

Amit Shah

    grocery CRUD Master

  • Advanced Member
  • PipPipPip
  • 1,192 posts

Posted 09 September 2013 - 05:52 PM

Hello Web Johny,

 

I have started using this wonderful read utility / functionality that you have provided. But i have faced some challenges with the same..

1 - There is no way you could have allowed a user to set his own patterned view columns.

2 - There is now callback exclusively for column in the view as there are in others.

3 - There aint feature to unset view.. all what is being used is all fields set in edit mode. Now technically speaking i may not give everything in edit but may have many other things to display in view. Plus, i may have a need of setting my own callback for formatting the output of the view.

4 - The image / picture for file upload is not set for as a link to view / click to download or stuff like that. A better option could have been a thumbnail view and click to enlarge the same using fancybox.

 

All such issues lead me to re-code the GC base library. I am sharing the code for the same .. that you can surely utilize it for the betterment / completeness of the library - Or anyone by the time a newer version is released, may use it.

 

I just did it with the intention to use it with my code.. this 1 might not be perfect one. Any improvements are surely welcomed.

 

Happy GCing :)

Attached Files



#2 davidoster

davidoster

    Grocery CRUD Ninja

  • Advanced Member
  • PipPipPip
  • 1,068 posts

Posted 09 September 2013 - 09:41 PM

Amit you should post this on the github!

This way John can easily integrate and test the code you submit!



#3 Amit Shah

Amit Shah

    grocery CRUD Master

  • Advanced Member
  • PipPipPip
  • 1,192 posts

Posted 10 September 2013 - 06:28 AM

sure.. will do that!!

thanx for the update :)







Also tagged with one or more of these keywords: read button, view, read

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users