Skip to profile content
Time to switch to a supported, maintained full JS solution, like SheetJS Community Edition | SheetJS Community Edition. This only works if you use the datatable theme, but maybe it could be adapted to flexygrid. $("#exportExcel").click(function (event) { //obtain reference to table ob…
I have a table with a compound primary key, but grocery crud does not generate data update queries correctly, ignoring the secondary key. The SetPrimaryKey function does not support the definition of composite keys. Is this functionality to be implemented? I have seen reports dating back to 2012… …
I found a simple solution although, as is often the case with the new version of grocerycrud, it is not documented and you need to reverse engineer the sources. Just define a new custom model, which is actually the default one. But in this case, you can pass the correct DB connection to the constr…
Sorry but I could’nt reproduce… What does the function datos_user() do? And in which part of it you actually connect to db?
Unfortunately, no. There is a function in grocery enterprise ( setDatabaseSchema ) but it says only for PostgresSQL.
Hi all, I’ve correctly configured grocerycrud for it (italian) locale, but some jquery elements are not configured correctly, as showed in the images. I do not want to hardcode language options and format in the js files under /asset/js/jquery_plugins as the library itself should set the correct o…
Hi all, in the past version of Codeigniter + GroceryCrud switching database was a simply as this: $this->db = $this->load->database(‘new_db’, true); Now $crud = new GroceryCrud(); $this->db = db_connect(‘new_db’); seems not working: the accessed db remains the default one. Any clues?