Skip to profile content
Hi Johnny, i think setUniqueId was the clue i was missing. Will have time this weekend to look at it. In anyway, thanks for your quick response! Regards, Marc
Hi @johnny , i need your help, using gc without any framework. The backend works great, it is more about the frontend. Lets say i have some content, three buttons and a div especially for the datagrid. With each button i want to “select” a different table, and display the datagrid in the “gc-div”,…
Ok, i don’t get it. My approach is to try to run the states “Main” and “Initialize” once. And then fetch the data of the state “datagrid” (with a different $gccrud->settable per fetch) to display it in the div. However i fear that i don’t understand the inner working of gc enough, because all i tr…
Hello Johnny, i have a page with a decent amount of static content and a div that shows one of a few different (little ) tables (1-20) rows. The user can chose a table with a select and i wan’t to fetch the gc grid without reloading the rest of the page. If you say it is doable, i’ll dive a bit de…
Thanx! That worked. It showed, that i forgot to install the mbstring extension (which is a non-default extension). After installing all runs well!
Hi Johnny, till now i used gc with PHP 8.0 and everything works well, After upgrading to 8.3, i get the following error. [error1] [console] Returning to 8.0 and all works well again cheers, Marc
Yes, it is possible. It didn’t work the first time, because i made a stupid mistake. Easy way to reuse code and package a lot of logic into one file… KR, Marc
Hi, this question might be stupid, but i did not find any solution, Is it possible to use gc with fetch ? Something like… fetch(myRequest) .then((response) => { … } KR, Marc
Hi guys, i’m trying to do something like $crud->setApiUrlPath(‘own.php?para=1’); and in the own.php switch according to $_GET[“param”] , but i get no data as result. Tia, Marc
Hi Johnny, thanks for the quick answer and also for this great piece of software you provide! Your code solves my first problem :grin: Now if you could find a solution to the second , that would be awesome. Cheers, Marc
Hi everyone, is it possible to show the pagination only if it is really necessary, i.e. if the total number of rows exceeds the default number per page? Right now i set the CSS-style of the class .gc-footer-134 to {display:none}, but there are two problems i have. First the class changes (nr at th…