Commit Graph

22 Commits

Author SHA1 Message Date
Nathan Gray
5e90755cd6 Add 'sortable' attribute to grid.
Set it to an AJAX (PHP) callback to enable, and it will be passed the grid ID & new row order whenever the user re-orders the grid rows.
2013-07-03 23:16:15 +00:00
Nathan Gray
80ae80098e Fix disabled grid rows still being created.
While not ideal (prevents modification / un-disabling after), this prevents some problems with doubled IDs
2013-06-24 20:50:37 +00:00
Ralf Becker
e64c4fbd04 add some JSDoc so Eclipse shows an outline: @memberOf and @augments (not yet understood by Eclipse), also fixed many warnings (mostly missing semicolons) 2013-04-13 19:00:13 +00:00
Nathan Gray
7a3b2db0a6 If widget's row / column gets disabled, let widget know too 2013-03-15 17:46:53 +00:00
Nathan Gray
8a1386ecdb Fix grid auto-repeat. It's always the last row that repeats, if there's data 2013-02-05 08:31:08 +00:00
Nathan Gray
fa69637b82 Silence some warnings, mostly about attributes 2012-07-23 23:54:16 +00:00
Nathan Gray
e5c508a609 Move align interface with the rest 2012-07-23 18:01:04 +00:00
Nathan Gray
4a98ec1a26 Allow grids with names to work 2012-06-26 22:56:35 +00:00
Nathan Gray
2692ded763 Default table row valign to top 2012-06-11 15:45:37 +00:00
Nathan Gray
5c0b30bf4f Implement missing vertical align attribute 2012-04-09 21:55:35 +00:00
Nathan Gray
f53fa79512 If a row is explicitly disabled, it's safe to just skip it 2012-03-30 16:25:30 +00:00
Nathan Gray
b1d4ec546c Add widget's class to td for backward compatability 2012-03-28 19:21:40 +00:00
Nathan Gray
d61a9f4a69 Column alignment for grid 2012-03-28 18:57:37 +00:00
Nathan Gray
c39b76f8a9 Prevent some warnings about attributes 2012-03-23 19:25:50 +00:00
Nathan Gray
51ba799ed0 Keep looking for row data until next row is missing 2012-03-22 23:15:38 +00:00
Nathan Gray
ee6e9ef8d8 Get auto-repeat grid rows mostly working 2012-03-21 21:31:47 +00:00
Andreas Stöckel
d310b14ecf Client side API now supports modules which are instanciated per application or per window; removed et2_debug function from et2_core_common, now using corresponding API function. 2012-03-05 13:07:38 +00:00
Nathan Gray
0238387c5c Return DOM node so name/ID changes can be applied (handled by caller) 2011-10-24 22:52:01 +00:00
Nathan Gray
a2de7dce27 Implement detached interface for grid so sub-widgets get processed 2011-10-24 19:35:04 +00:00
Andreas Stöckel
5c4c175ce2 Checked IE compatibility; dataview columns now resizes correctly; removed event code from etemplate2.js, use interfaces instead (as done with the 'resize' event) 2011-08-26 09:58:25 +00:00
Andreas Stöckel
ec5b162bfa Moved et2 core interfaces to own file; implemented Class.free which cares about calling 'destroy', removing all references the object may hold and rendering the object unusable after 'free' has been called; added 'getMem_freeMem_trace' which helps hunting down memory leaks with objects derriving from Class; added first implementation of the nextmatch widget - currently does nothing else but rendering the header and clicking on the nextmatch_sortheader labels 2011-08-25 13:35:53 +00:00
Andreas Stöckel
53f4064cdc Added some naming scheme to the js files 2011-08-24 10:18:07 +00:00