Skip to content
Reflex wrapper for DHTMLX widgets
Haskell C HTML Nix
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
reflex-platform @ 6d746cc


Build Status


  1. You must include the stylesheet lib/dhtmlxcalendar.css in your page
  2. You must put everything in lib/img in the same directory that you put dhtmlxcalendar.css.
  3. You must provide the lib/dhtmlxcalendar.js file in your page

Building the Example

After cloning the repo, you will need reflex-platform you can run git submodule update --init --recursive to get that code as a submodule.

You can then run nix-shell -A shells.ghc or nix-shell -A shells.ghcjs to get a wired up nix-shell. Alternatively you can cd reflex-dhtmlx-example and run nix-build ../ -A ghcjs.reflex-dhtmlx-example and simply open index.html in your browser.

You can also see the example here.


If you are to update the javascript blob in libs/dhtmlxcalendar.js, please follow these steps to update the exports for google closure compiler:

  1. Find all instances of window.dhx and change them to window['dhx'].

  2. Find all instances of window.dhx4 and change them to window['dhx4'].

  3. Find all instances of window.dhtmlxEvent and change them to window['dhtmlxEvent'].

  4. Find the definition of the dhtmlxEvent function - it should be inside an

    if(undefined...){ function dhtmlxEvent...

    and export dhtmlxEvent by adding window['dhtmlxEvent']=dhtmlxEvent; immediately after the function definition, inside the if statement.

Do this for any other symbols that may end up as undefined after running your program through google's closure compiler.

You can’t perform that action at this time.