install.txt 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. Installation
  2. Download the jqGrid package from the www.trirand/blog site section downloads.
  3. Note the new download manager where you can choose which modules you want to
  4. include in the download.
  5. In order to use jqGrid 3.5, first a UI theme css file should be loaded.
  6. Download the desired theme (or build a custom one) from jQueryUI site
  7. (www.jqueryui.com) and point in your link tag in head section the path to the
  8. theme css
  9. <link rel="stylesheet" type="text/css" media="screen" href="path_to_ui_css_file/jquery-ui-1.7.1.custom.css" />
  10. where the path_to_ui_css_file is a valid path to the ui theme file
  11. Extract the jqGrid package and copy the ui.jqgrid.css from css directory to
  12. your webserver directory. It is not necessary that the jqgrid css file is in
  13. the same directory as those of the jquery ui css.
  14. <link rel="stylesheet" type="text/css" media="screen" href="path_to_jqgrid_css_file/ui.jqgrid.css" />
  15. Starting with this version, jqGrid does not use a loader (which loads the
  16. needed files one by one), but all the needed code is contained in one file.
  17. The desired modules can be built using the jqGrid download manager from the
  18. site pointed above. In order to use this, first a language file should be
  19. loaded and then the jqgrid file.
  20. Copy the desired language file from js/i18n directory to your web server
  21. directory where you store the java script files. Every language file is
  22. named grid.locale-XX.js, where XX is a two-letter code for the language.
  23. Copy the jquery.jqGid.min.js file to the same or other valid directory in
  24. your web server
  25. Include both the files in script tags in the head section
  26. <script src="path_to_js_files/grid.locale-en.js" type="text/javascript"></script>
  27. <script src="path_to_js_files/jquery.jqGrid.min.js" type="text/javascript"></script>
  28. For debugging purposes, I have created a grid.loader.js which does the same
  29. loading of the files as in previous versions. The location of the file is in
  30. src directory of the package. In order to use this, the variable pathojsfiles
  31. should be adjusted to point to the appropriate folder - see 3.4.x docs.