Nathan Gray
b0eee9d9a4
Re-commit of 55312, this time with improved support for columns with no label / ID (can not be toggled or resized)
...
Allow gridview / nextmatch columns to be disabled and not show as options in the column list by sending something from the server. Previously was only parsed & disabled on first load.
eg: setting the column disabled=@no_column, then setting no_column=true in the get_rows response to disable it.
Note: to re-enable the column ,you must send no_column=false
2016-03-09 17:29:29 +00:00
Hadi Nategh
c334956857
Revert commit 55312 because of breaking nm in mobile theme. It needs more investigation
2016-03-09 10:31:29 +00:00
Nathan Gray
53dcea9004
Allow gridview / nextmatch columns to be disabled and not show as options in the column list by sending something from the server. Previously was only parsed & disabled on first load.
...
eg: setting the column disabled=@no_column, then setting no_column=true in the get_rows response to disable it.
Note: to re-enable the column ,you must send no_column=false
2016-03-08 17:16:32 +00:00
Ralf Becker
aa31a8705f
fixing scope of "use strict", so we do not need to remove it when concatinating our scripts like we do now with minjs
2016-02-29 20:40:43 +00:00
Nathan Gray
b7b6baaed5
Accept string without suffix as fixedWidth.
...
Fixes infolog defaults missing when changing details/no details
2014-09-18 02:29:14 +00:00
Hadi Nategh
d806a5bf69
Change minWidth of columns in dataview to 20px
2014-08-26 07:34:33 +00:00
Nathan Gray
28d2fad14a
* Change nextmatch column size calculations so extra size is allocated better.
2014-08-19 23:33:06 +00:00
Ralf Becker
ac18b6cc8d
changed et2_core_inheritance.js to implement ClassWithAttributes extending Class from egw_inheritance and changed et2 objects to use ClassWithAttributes when required (also fixed lots of IDE warnings / added docu)
2014-03-20 09:40:37 +00:00
Nathan Gray
362c61e0ae
Don't try to take extra size from already too small columns
2013-12-11 21:24:17 +00:00
Nathan Gray
3d1bdceaac
Deal with rounding errors etc. so columns always take full width, and some bounds checking in case things go horribly wrong.
2013-10-03 12:52:58 +00:00
Nathan Gray
29f8a562e2
Better usage for relative column width:
...
- Columns with relative width specified in template are kept relative in resize
- Columns with no width specified in template get any left over space (relative)
- Columns with fixed width specified in template are kept fixed
These three together mean that if the user resizes the window or adds/removes columns, fixed columns don't change and any space is divided among relative columns.
2013-10-02 12:43:30 +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
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
168b79bc14
Implement called, but not defined, set_visibility() to update column visibility
2011-09-29 19:21:38 +00:00
Andreas Stöckel
035a4d369f
First version of the dataview which does... well... 'something' at least (currently shows dummy rows with non-etemplate content) Need to cleanup code and test auto hiding of rows (code is actually there)
2011-08-31 15:39:24 +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