w20-framework / w20

W20 is a Web framework, built upon a powerful RequireJS/AngularJS/Bootstrap mix to help you develop single page applications.
https://w20-framework.github.io/
Mozilla Public License 2.0
8 stars 9 forks source link

Fix #3 ui grid anomalies #4

Closed kavi87 closed 9 years ago

kavi87 commented 9 years ago

Fixes #3

N°1: "Column resizing distorts the grid.": Cannot reproduced. Will need to see an example but is unlikely to be fixed at present time.

N°2: "Setting the height of the grid dynamically cause it to fluctuate anormally.": Fixed with N°3, apparently using the grid auto resize feature enable to set the height dynamically. See http://ui-grid.info/docs/#/tutorial/213_auto_resizing for an example.

N°3 : "The grid does not resize itself when a side menu is toggled." : Fixed by adding dependency module 'ui.grid.autoResize' to grid.js. Using projects will need to add the directive 'data-ui-grid-auto-resize' to their grid element in order for it to fix the issue.

N°4: "The 'Select all rows' options does not seem to work even if the option is specified.": Fixed by adding dependency module 'ui.grid.selection' to grid.js. Using project will need to add the directive 'data-ui-grid-selection' to their grid element in order for it to fix the issue.

N°5: "If we scroll the grid down and then navigate to another page [...]": Cannot fix. This seems a specific issue related to how IE 9 redraw canvas, it could be fixed in new version of the grid in the future.