Personal tools
You are here: Home Leocornus leocornus.tracclient Build on top of jQuery and AJAX

Build on top of jQuery and AJAX

— filed under: ,

We should based on jQuery and AJAX

Some possible area / functions:

  • Previous/Next page navigation.
  • ticket filtering by milestone, version, component, status, priority, etc.
  • ticket brief view: summary, description, status, change logs, etc.
  • quick search.

WordPress included Scripts and Styles

WordPress registered JavaScripts could be found here: http://codex.wordpress.org/Function_Reference/wp_register_script. Here are some that we are going to use in this plugin:

  • jquery
  • jquery-ui-dialog

Datatables.net is clearly the best choice!

http://datatables.net/ is jQuery based, source code hosted on github.com

feature rich, tons of examples, support server-size processing.

DataTables has the AJAX request support through sAjaxSource. It is the URL of the ajax.

How to set column width

DataTables will set the column width automatically if you didn't specify the column width. You can set the column width at the thead/tr/th.

jQuery UI for ...

jQuery UI dialog form will be used for ticket manipulation. Here is a demo: http://jqueryui.com/demos/dialog/#modal-form.

AJAX in WordPress is a bit Tricky!

This post explained it clearly:

This topic deserve a separate story

Document Actions