Changes between Version 4 and Version 5 of S3/S3GroupedOptionsWidget


Ignore:
Timestamp:
04/01/13 19:52:17 (9 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • S3/S3GroupedOptionsWidget

    v4 v5  
    5353== JQuery UI Widget ==
    5454
    55 The {{{S3GroupedOptionsWidget}}} uses the {{{groupedopts()}}} widget in {{{jquery.ui.groupedopts.js}}}. This jQueryUI-widget-factory based widget renders a normal SELECT element as one or multiple groups of checkboxes:
     55The {{{S3GroupedOptionsWidget}}} uses the {{{groupedopts()}}} widget in {{{jquery.ui.groupedopts.js}}}. This jQueryUI-widget-factory based widget renders a normal SELECT element as one or multiple groups of checkboxes.
    5656
     57'''The widget is instantiated for an element like''':
    5758
     59{{{#!javascript
     60$('#example').groupedopts({columns=3})
     61}}}
     62
     63'''Options''':
     64
     65 ||'''Option'''||'''Type'''||'''Explanation'''||'''Default'''||
     66 ||columns||integer||number of columns||1||
     67
     68'''Functions''':
     69
     70 ||'''Function'''||'''Example'''||'''Explanation'''||
     71 ||refresh||$('example').groupedopts('refresh')||Re-draw the widget from the current options/status of the underlying SELECT, e.g. to refresh the widget after Ajax-update of the SELECT||
     72 ||destroy||$('example').groupedopts('destroy')||Removes the widget and shows the underlying SELECT||
    5873
    5974----