Categories | Question details Back To List | ||
_js_prefix error and Calendar Hi, I am using dhtlmxgrid but keep getting _js_prefix not defined. These are the scripts I am using. Can you tell me anything I missed and need to add? or send me a sample code to use calendar with dhtlmxgrid <link rel="STYLESHEET" type="text/css" href="../style/dhtmlXGrid.css"> <script src="../scripts/dhtmlXCommon.js"></script> <script src="../scripts/dhtmlXGrid.js"></script> <script src="../scripts/dhtmlXGridCell.js"></script> <script src="../scripts/dhtmlXGrid_math.js"></script> <script src="../scripts/dhtmlXGrid_pgn.js"></script> <script src="../scripts/dhtmlXGrid_excell_link.js"></script> <script src="../scripts/dhtmlXGrid_excell_calendar.js"></script> Thanks, Chan Answer posted by Alex (support) on Jul 02, 2009 00:28 Hello, it's necessary to define path to the calendar libraries as follows (in grid page calendar files are placed in the codebase folder): <script>_css_prefix="../scripts/"; _js_prefix="../scripts/; </script> Moreover instead of "calendar" excell you can use the latest dhxCalendar. The sample is: dhtmlxGrid/samples/cell_types/calendar_grid.html http://dhtmlx.com/docs/products/dhtmlxGrid/samples/cell_types/calendar_grid.html |