[Freeipa-devel] [PATCH] 160 Development page for DataTables.

Adam Young ayoung at redhat.com
Fri May 20 16:10:01 UTC 2011


Works well on a liver server, but didn't work with my static checkout.

The keystroke filtering is very nice, and would be useful.

The number of results returned can be changed with the additional 
parameter.

Sorting can be done on the client side if needs be.  
array.sort(/sortfunction/)  where the sortfunction parameter would be 
able to compare two rows based on the specified field.  I'd like to 
disable the sorting feature until less than 200 results are returned, so 
as not to give the impression that we are doing server side sorting.




On 05/20/2011 12:32 AM, Endi Sukma Dewata wrote:
> NOTE: This patch is intended for development only. It should not be
> committed into IPA repository.
>
> An HTML page has been created to explore DataTables integration strategy
> into IPA WebUI. To use the page, open dataTables.html either in static
> mode or with live server. Select one of the entities from the list, it
> will show the entries in a table. The IPA command is shown underneath
> the table. Below it is a list of parameters generated by DataTables that
> can be used to specify the search filter, pagination, and sorting on the
> IPA command.
>
> Current status:
>
>  - Search filter works in live mode. Each keystroke in the search filter
>    field will trigger an IPA command that uses the specified filter. The
>    content of the table will be updated immediately.
>
>  - Pagination can be configured by selecting the number of entries shown
>    per page, but the content is unchanged because there is no server
>    support.
>
>  - Sorting order can be changed by clicking the column header, but the
>    content is unchanged because there is no server support.
>
>
> _______________________________________________
> Freeipa-devel mailing list
> Freeipa-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/freeipa-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20110520/3c5894ae/attachment.htm>


More information about the Freeipa-devel mailing list