Ralf Becker
e90143da6f
* jQuery: update to version 1.10.2 to improve IE10 experience
2013-10-31 12:11:29 +00:00
Andreas Stöckel
6918619da0
Fixed keyboard navigation in treeview
2011-07-03 12:33:43 +00:00
Ralf Becker
9db4fa8625
* jQuery: changed $ to $j to work around mootools use in Joomla templates and other js code in imported projects
...
required to change $ --> $j:
phpgwapi/*
jdots/*
etemplate/*
stylite/*
felamimail/*
admin/*
news_admin/*
projectmanager/*
importexport/*
infolog/*
ranking/*
required, but not automatic:
importexport/setup/etemplates.inc.php
phpgwapi/js/jquery/*
negative, not to touch or revert later:
phpgwapi/inc/savant2/Savant2/Savant2_Compiler_basic.php: '(\$(.+))' => 'print $1',
phpgwapi/js/dhtmlxtree/libCompiler/core.js
sitemgr/*
phpfreechat/*
gallery/*
activesync/include/smb.php: '^\tIPC\\\$(.*)[ ]+IPC' => 'skip',
etemplate/inc/class.bo_merge.inc.php: if ($this->table_plugins && preg_match_all('/\\$\\$table\\/([A-Za-z0-9_]+)\\$\\$(.*?)\\$\\$endtable\\$\\$/s',$content,$matches,PREG_SET_ORDER))
find phpgwapi jdots etemplate stylite felamimail admin news_admin projectmanager importexport infolog ranking \
\( -name '*.php' -o -name '*.js' \) -exec grep -q '\$(' {} \; -print \
-exec sed -i '' 's|\$(|$j(|g' {} \;
svn revert phpgwapi/inc/savant2/Savant2/Savant2_Compiler_basic.php phpgwapi/js/dhtmlxtree/libCompiler/core.js \
importexport/setup/etemplates.inc.php phpgwapi/js/jquery/jquery.js etemplate/inc/class.bo_merge.inc.php
additional changes:
phpgwapi/js/jquery/jquery.js: window.$ --> window.$j
phpgwapi/js/egw_json.js:291 this.request = $j.ajax({url: this.url,
jdots/templates/jdots/head.tpl:59 $j(document).ready(function() {
phpgwapi/js/egw_action/egw_grid_view.js: $.browser --> $j.browser
importexport/setup/etemplates.inc.php: etemplate editor importexport.wizard_basic_export_csv.choose_fields onclick of check icon changed
phpgwapi/js/egw_action/tests/*.html
phpgwapi/js/egw_action/tests/js/jquery.js: window.$ --> window.$j
2011-07-03 09:12:55 +00:00
Andreas Stöckel
a81e83a6e6
Prevented grid from loading all data when it is not visible
2011-06-26 15:44:08 +00:00
Andreas Stöckel
18f6a20df4
Included accidently commented out setTimeout commands again
2011-06-26 15:06:39 +00:00
Andreas Stöckel
44f73628e2
Implemented unregistering ActionImplementations when ActionObject.remove is called, ActionObject.clear now calls 'remove' on all child objects.
2011-06-26 14:57:05 +00:00
Andreas Stöckel
f3ccd96f03
Grid and nextmatch aoi now reset the input element focus once a row is clicked
2011-06-16 20:43:33 +00:00
Andreas Stöckel
9db8424e15
Implemented default focusing of objects in the tab manager, added new egw_getAppName function on js side, which returns the name of the currently active application - this is needed for the keyboard handler to pass the key events to the correct application object manager.
2011-06-15 20:54:58 +00:00
Andreas Stöckel
1c600b919d
Implemented new selectmode in grid, added grid.setSelectmode method to set the selectmode
2011-06-15 16:31:33 +00:00
Andreas Stöckel
085d8bf07f
Fixed problem with column header being displayed on checkbox columns, and always disabling the select-cols menu entry for it
2011-06-15 15:26:46 +00:00
Andreas Stöckel
e03d416fda
Implemented first version of key-board control over action-objects. For now arrow/page up/down and CTRL-A works.
...
Known Issues:
- Keyboard navigation in egw_grids (like felamimail) may not work correctly when navigating to not-yet loaded items (current implementation for that is more a hack)
- short-cuts not yet implemented
- not tested in IE, Safari, FF 3.6
- felamimail sometimes loads all/many of the emails you were navigating over
2011-06-12 16:41:40 +00:00
Andreas Stöckel
fbb5551dca
Fixed problem with requesting already loaded JS and CSS files, fixed problem with icon height not being updated for table rows in IE
2011-05-22 18:42:23 +00:00
Andreas Stöckel
6361ee4f4b
(Hopefully) fixed a few bugs in the grid: Fixed problem with eventQueue, fixed problem in egwGridViewContainer.getHeight() which caused sorting to break the grid, fixed bug with grid not being generated correctly when being generated in an invisible container.
2011-04-07 19:29:07 +00:00
Andreas Stöckel
ca7dfd3370
Added grid styles to the jerryr template (probably the CSS + the images should be kept in the default theme, but I'm not sure what's the best way to do this), added 'evenQueue' object to grid JS code, which allows you to cancle or postpone JS events connected to it.
2011-04-05 20:23:09 +00:00
Andreas Stöckel
151da7e0bd
Updated code for image overlay on grid entries
2011-04-01 12:49:14 +00:00
Andreas Stöckel
888bbd0051
Added sort header click callback, fixed (minor) bug in column width calculation
2011-03-31 15:04:33 +00:00
Andreas Stöckel
bc25b8a102
Only call the selectCallback once, call it when setAllSelected is called and select the whole row when the checkbox is pre-checked
2011-03-31 12:56:47 +00:00
Andreas Stöckel
b424341afe
Added selected change event to grid component, reverted change with drag'n'drop and window.top
2011-03-31 12:17:46 +00:00
Andreas Stöckel
a726d95d0b
Fixed bug with grid element position calculation in firefox - firefox uses fractional height values internally but returns them rounded when using offsetHeight - using getComputedStyle when using firefox fixed the issue.
2011-03-30 20:52:02 +00:00
Andreas Stöckel
3111c74eda
Fixed selection issues in grid and fixed problem with checkbox data being checked with == and not ===
2011-03-30 15:05:58 +00:00
Andreas Stöckel
dde3de5195
Added new column type 'EGW_COL_TYPE_CHECKBOX'
2011-03-30 14:28:49 +00:00
Andreas Stöckel
4b23d7bca2
removed egwGridView_outer margin
2011-03-30 12:28:24 +00:00
Andreas Stöckel
01a50945f5
Fixed bugs with Drag&Drop and IE, improved speed of grid view component by adding an timestamp to the data cells and only updating them if the timestamp has changed
2011-03-25 13:12:24 +00:00
Andreas Stöckel
ded17410ba
Added new doTriggerEvent aoi method to grid aoi and fixed bug with scrolling in the grid and dragging
2011-03-24 18:17:27 +00:00
Andreas Stöckel
67575e1cd1
Added move and copy multiple files functions to egw_vfs, implemented functions needed to reload subtrees of the egw_grid, fixed problems with data fetching in egw_grid_data.js
2011-03-21 16:12:28 +00:00
Andreas Stöckel
07daeda81e
Fixed bugs in the grid component with resizing not working properly and column width being not in sync with header width. This has been done by using a dynamic stylesheet for the column properties instead of changing the properties for each element individually.
2011-03-18 18:04:56 +00:00
Andreas Stöckel
ebd6031ecf
Small design improvements, fixed horz. scrollbar in grid with chrome, ie compatibility, enabled column selection, fixed prefetch code
2011-03-16 17:50:25 +00:00
Andreas Stöckel
fa12444ae7
Moved contents of egw_vfs_utils to egw_vfs, added 'egwGridViewFullRow' class to the egw_grid_view.js, which is capable of inserting a data row which spans all columns, added egwGridData.clearData method to egw_grid_data.js, which delets all data stored in the data row
2011-03-15 17:52:08 +00:00
Andreas Stöckel
e7bd5a4813
Modernized grid design a bit, added auto triggering of the default action to the popup action, added simple action-binding to the egwGrid
2011-03-14 20:11:08 +00:00
Andreas Stöckel
ae453db400
Fixed thumbnail generation for application folders, added egw_stylesheet.js, which allows the dynamic generation of a stylsheet. This is now used in the egw_grid_view.js to keep the row caption in the same distance from the icon - depending on the maximum icon width.
2011-03-14 12:42:59 +00:00
Andreas Stöckel
c77069d0af
Reduced thumbnail filesize limit in egw_vfs_utils.inc.php which was increased for testing purposes, fixed bug with container position calculation in deeper levels in egw_grid_view.js, which affected inserting new grid rows
2011-03-14 09:36:59 +00:00
Andreas Stöckel
943f369cce
Fixed bugs in the grid view js code (changes in the test_grid_view.html are for debugging purposes only), added class.egw_vfs_utils.inc.php which will contain high-level vfs functionality which was previously hidden inside etemplate and the filemanager, such as generating the thumbnail url for a file.
2011-03-13 20:54:16 +00:00
Andreas Stöckel
57aaf6d756
Dynamic loading of content tested and optimized, resolved bugs, implemented support for data trees in the view classes. The whole progess can be seen in the test/test_grid_view.html file.
2011-03-10 20:58:35 +00:00
Andreas Stöckel
c7122b1006
Basic grid functionality including dynamic generation of grid rows is now working in all browsers
...
and performs quite well (just some non-objective data):
Lines | IE 7/8 | FF | Chrome
---------------------------------------------
1000 | fast | very fast | very fast
10000 | ok | fast | very fast
100000 | still ok | ok | fast
(Performance might still be optimized but this does not really help right now).
The code for dynamic data loading has been written but still has to be tested.
Work which still has to be done to have a fully functional grid view:
- Data columns have to be generated correctly
- Displaying trees has to be tested, but should work more or less out-of-the-box due to the design of
the grid containers
- Client side manipulation of data (sorting/filtering...) - most functionality is already there but not
yet used (will be tested alongside with the filemanager)
2011-03-09 22:16:41 +00:00
Andreas Stöckel
dd8a8eab45
Implemented framework for dynamically inserting grid rows into the DOM tree and a very simple test for it
2011-03-07 16:53:43 +00:00