Carbogrid - datagrid and CRUD |
[eluser]dioslaska[/eluser]
@rw1 To use your own database, you must configure it in application/config/database.php (http://ellislab.com/codeigniter/user-gui...ation.html) To specify which table from your database you want to display in the grid, you have to modify the controller (application/controllers/sample.php): Code: $params = array( Please note that the documentation assumes you are familiar with CodeIgniter and MVC
[eluser]Noobigniter[/eluser]
I use carbogrid with my database, and i got this in my log : Code: ERROR - 2012-11-03 21:09:20 --> Severity: Notice --> Array to string conversion /application/modules/account/views/carbo/carbo_grid.php 42 carbo_grid.php Code: 41. foreach ($command as $key => $value) { in my controller i have this: Code: $commands['delete']['toolbar'] = false;
[eluser]Unknown[/eluser]
Is there a way to disable add/edit/delete in CarboGrid? If so, is there any way to set it so that users can't edit, but can still pop-up the edit screen? Basically, I'm working on an app that'll be a display-only interface to a DB, the visitors should only be able to look at data, not add/edit/delete. However, each record has too much info to display on the grid. I'd like to be able to show a limited number of fields, then have the user be able to call up the edit screen (or equivalent), which lists more of the fields (including more space for large text fields), but still not be able to edit the record. Thanks, Juliean
[eluser]Unknown[/eluser]
Hello Guys, I installed CarboGrid 0.9.1 and I got lots of JQuery errors depending on the version of JQuery core and Jquery UI installed and maybe the PHP also , don't know yet. So I'm asking about your config with no error. And I can't use filtering. Please help, Thanks |
Welcome Guest, Not a member yet? Register Sign In |