Assume display table has 10 fields, but crud->columns shown 4 fields, if select EXPORT function, it will export 4 fields data which define in. Hi everyone,. When I do a export, I only see the ID and not the data in the export file from Excel. All the code and the CRUD is working just fine. Currently the Flexigrid theme is exporting only the fields that are specified as columns in the table. How can I edit the functionality to export the.

Author: Vigami Doushakar
Country: Belize
Language: English (Spanish)
Genre: Art
Published (Last): 2 April 2013
Pages: 149
PDF File Size: 3.21 Mb
ePub File Size: 1.64 Mb
ISBN: 195-8-83670-235-4
Downloads: 37382
Price: Free* [*Free Regsitration Required]
Uploader: Fenriramar

So to ease out the multiple code writing, there are lot of CRUD generators available to be used in CodeIgniter framework.

This article will be focused to CodeIgniter platform. It also provides a platform to use common assets like css and js. Just few lines of code and your CRUD is ready. Now set up new database and configure your database credentials for your project.

Here you will find below code where you need to add credentials like hostname, username, password, database name etc as below.


If you want to use default demo database from grocerycrud. Now save your file with Demo.

Grocery Crud – Add Export link for relational tables

Please make sure grocedy file name has first character capital, Its as per CI 3 new rules. Now run your project in browser eg.

Now create a new table in database. Insert some data in that table so that you get some data in grid view of demo. You can execute below query to your database by replacing your table name and fields to add new records in your database table.

php – add edit view remove дает страницу не найдена на бакалее CRUD – Qaru

You will find a grid view with basic add more and many other options. The downloaded zip also contains the sample example. You can also check that example just by placing that example module files to your source code.

You can crdu that example files and folder in your project as below. You can access default example by accessing url, http: You can see the example with menu for different records from database as we have imported in Step 2.


Export buttons

Now you can see that its too easy to configure and use, so any newbie can also perform well. With less codding and in short time you will have all the functionality that you need to create your perfect CRUD demo. Grocery CRUD also exoprt some notable features like table theme, server side and client side validation as well. It also facilitates to add our own validation rule.

DataTables example – Export buttons

If you have any questions drop it in comment box. Step 1 Install and setup codeigniter. Please ensure that you have the welcome screen like below.

Step 2 Now set up new database and configure your database credentials for your project. About the Author Latest Posts. Contact us if you have any Development needs.