It has some other more sophisticated features, like subgrids, TreeGrids, grouping and so on. Short time after that the license agreement was changed see here and new 4. The code from the GitHib repository is the fork of jqGrid 4. Below you can find short description of the bug fixes implemented in free jqGrid 4. The version is developed by Oleg Kiriljuk , alias Oleg on the stackoverflow and OlegK on trirand forum. Read Wiki for more detailed information about the features of free-jqGrid.
|Published (Last):||11 October 2009|
|PDF File Size:||11.90 Mb|
|ePub File Size:||5.34 Mb|
|Price:||Free* [*Free Regsitration Required]|
The last development version can be obtained from GitHub. Trirand specializes in the development of web components, and embraces free and open standards like jQuery, jQuery UI ThemeRoller, Bootstrap.
Tony got the idea for jqGrid when he needed an easy way to represent database information in a project. The first requirement was speed and the second, independence from server-side technology and the database back end.
Tony developed jqGrid and made it available for free until December As of that date the product is commercial and have change its name to Guriddo jqGrid. These components are not required for jqGrid to work, but they speed up the process of making complete grid solutions, and they save developers the effort of writing server-side code. For more information refer to the Guriddo jqGrid website. Guriddo jqGrid has consistently been developed with ease of use in mind.
The user should feel at ease from installation to administration. In-line editing In place editing allow you in easy way to update the cell content in particular row. Searching The columns in the grid can be used as the basis for a search form to appear above, below, or in place of, the grid. Pivot grid allows you to reorganize and summarize selected columns and rows of data in a spreadsheet or database table.
You will need to have a basic knowledge of jQuery. For more information about jQuery and basic lessons visit jQuery site. If you want to draw grids based on local static data, you'll need to assemble an array, or an xml data file, or a JSON file with data.
The primary purpose of Guriddo jqGrid is to manipulate and represent dynamic data over the web. For this you will also need:. Once you have a basic understanding of what Java Script and jQuery are and what they do, you're ready to try Guriddo jqGrid! The Guriddo jqGrid package contain all the needed packages and libraries. The optional downloading from 2. Installation of Guriddo jqGrid is just a matter of copying the files and folders to your web server or development directory.
Once you've downloaded the needed packages, you can continue with the installation. If you're a normal user of Guriddo jqGrid, you should complete the Basic Installation below , which installs all the files needed to use Guriddo jqGrid. If you want access to the jqGrid source code to find bugs and make improvements, complete the Basic Installation first, and then perform the additional steps in the Development Installation section below. Step 1: Unpack the Guriddo jqGrid zip files to a temporary folder or use open the jqGrid folder when installed from npm or bower Step 2: Create a directory on your web server to hold the jqGrid files and folders.
For example:. Step 3: Open the temporary directory locate the js and css folders mark them and copy the entire folders from temporary directory to myproject directory. Note that the folders contain more files, than the specified. We mark here the needed files for working with jqGrid. The second stylesheet loads the CSS settings for jqGrid itself.
As of version 5. To use this styling it is needed to include the appropriate files. Using your favorite editor, create a file named jqgridbootstrap. Basically this can be done two diffrent ways. To use this styling it is needed to include the appropriate files from the jqGrid package and to download additionally the iconic set.
To setup Bootstrap 4 it is needed to load jqgrid css bootstrap 4 file, the appropriate iconic CSS file downloaded from the links above and the the bootstrap css file. Below is a example using the Octicon icon set. Using your favorite editor, create a file named jqgridbootstrap4. The second stylesheet load the iconic icon sets. Basically this can be done two different ways. If you choose the development installation, your version of Guriddo jqGrid will be using uncompressed source code rather than minimized production code, for easier reading.
This type of installation is easy. It require only to change the file name from jquery. Actually the jquery. In this case you will need to replace. Understanding how jqGrid works, will help you get up to speed with the full capabilities of the plugin. The first thing to understand is that there are two aspects to working with tabular data:.
Guriddo jqGrid is a component that presents tabular data for easy manipulation in a web browser grid. It uses Ajax calls to retrieve information and construct the representation tabular data using the jqGrid Column Model colModel.
Furthermore, jqGrid helps you send any data changes or additions to the database on the server-side, a process known as server-side manipulation, or SSM. SSM means the server handles the actual changes to the database, and not the user's browser.
NET or any other common programming language. Header layer contains information about the columns: labels, width, etc. Body layer is the data requested from the server and displayed according to the settings in the column model. Navigation layer contains additional information from the requested data and actions for requesting little pieces of information — in the literature called paging.
Note that the navigation layer can be placed not only at bottom of the grid, but anywhere on the page. The Navigation layer is also the place for adding buttons or links for editing, deleting, adding to and searching your grid data. The grid can not only have additional layers, but also allow more than the rows to contain the main data. As you may have seen, there is a little bit of tweaking necessary in-order to customize jqGrid and get it set-up the way you like.
The good news is, you can use that folder as a template and every time you want to make a new project with jqGrid you can just make a copy of that folder. The first element in the body tags is a standard table element; this is what will be converted into our grid, and it's literally all the HTML needed to make one.
The first two options set the data along with its type, in our case the data is the array we made and the type is local which is in contrast to some of the other data types which use AJAX to retrieve remote data. The last property is the column models, which basically provide the interface between the data and the grid. The way this works is, we start by specifying the column labels, so jqGrid knows we want two columns, one named Name and the other named Phone Number, but it still has know idea how to populate the rows using the info from data.
Now there are tons of options for colModel, which we will get to later, numerous settings for customizing and manipulating the data for the cell grids. But for this simple example we are just specifying the name and label properties , which tells jqGrid that this column's values name, phone are held in the data array under the given key. Not particularly pretty, but you can see that with just a few short lines, we have created a grid, and populated it with sortable data.
But we can do better, first off we are only using two of the four standard layers we talked about, we are using the header layer and the body layer. That's looking much better. Now, you may be wondering; we only set the height property to auto, so how come the width seems to have snapped to the content? And this is due to the fact that the right margin we saw earlier is actually a column for the scrollbar.
By default jqGrid sets your grid's height to pixels, this means, regardless of whether you have only one row, or a thousand rows, the height will remain the same, so that there is gap to hold the scrollbar in an event when you have more rows than that would fit in the given space.
When we set the height to auto, it will stretch the grid vertically to contain all the items, making the scrollbar irrelevant and therefore it knows not to place it.
Now this is a pretty good quick-start example, but to finish things off, let's take a look at the a navigation layer, just so we can say we did. The way it works is, you specify the format and number of rows you want and it generates it with random data.
We are going to keep the format we have been using, of name and phone number, so in the box on the left enter the following code:. Refreshing the page now you will see the first 20 rows being displayed that is the default limit. But how can we get to the rest? Well jqGrid provides a special navigation layer named a pager, which contains a pagination control. To display it we will need to create an HTML element for it.
So, right underneath the table element add a div like:. And that's all there is to it, you can adjust the rowNum property to display more or less entries at once and the pages will automatically be calculated for you.
Skip to content. Development Installation How it Works? Quick Start. Note The grid doesn't depend on these Java Script libraries and it is not necessary to load them. Note There is one additional recommended adjustment: Since the jQuery UI Themes have different font sizes it is a good idea to reduce the font size to make everything uniform.
There is a bug in current demo download package i. Please fix. My page gets its locale from a querystring parameter. How do you set the grid's language from that?