Jump to content


davidoster

Member Since 10 Oct 2012
Offline Last Active Jun 20 2014 12:15 PM
*****

Posts I've Made

In Topic: [updated 24/11/2012] Dependent dropdown (library)

30 December 2013 - 05:45 PM



Hi,

 

Your library is great, but I think I found an issue. When you "view" record dependent fields are not being displayed but when you "edit" or "add" it just works perfectly.

 

Please let me know if I am missing something or where can I start debugging.

 

Regards.

 

Hello klahnen and welcome to the forums.

This library hasn't been updated for the new feature of view that the Grocery CRUD library now has and thus it won't work for the dependent fields.


In Topic: How to use Invisible field

16 December 2013 - 08:31 AM

Amazing post-example edramirez!!!

Thanks a lot for sharing!

It's extremely useful.

 

P.S. It just needs some caution on possible duplicates because of user error.


In Topic: "datatables" theme loads all my records and then creates pagination?

03 December 2013 - 10:43 PM

Try this, 

$this->db->limit();

Lets you limit the number of rows you would like returned by the query:

$this->db->limit(10);

// Produces: LIMIT 10

The second parameter lets you set a result offset.

$this->db->limit(10, 20);

// Produces: LIMIT 20, 10 (in MySQL. Other databases have slightly different syntax)

or this http://www.grocerycr...functions/limit

e.g. $crud->limit(10);


In Topic: Grocery CRUD and Node.js!!!

28 November 2013 - 06:35 AM

And just to conclude, check (if you don't know) this db agnostic MVC framework that out of the box has many similarities with GC!

https://github.com/balderdashy/sails


In Topic: Grocery CRUD and Node.js!!!

26 November 2013 - 10:15 AM

Check this out, https://github.com/johnroers/dbCRUD