Skip to content
This repository has been archived by the owner on Jan 16, 2018. It is now read-only.

Refactor datagrid view handling #43

Merged
merged 4 commits into from
Feb 3, 2016
Merged

Refactor datagrid view handling #43

merged 4 commits into from
Feb 3, 2016

Conversation

sstok
Copy link
Contributor

@sstok sstok commented Feb 2, 2016

Q A
Bug Fix? no
New Feature? no
BC Breaks? yes
Deprecations? no
Fixed Tickets
  • Remove set-data filtering from Datagrid, data must be in the correct format when provided.
    A Datagrid should not hold configuration, and handle the correct data format.
  • Rename properties to remove "view" part
    eg. "cellViews" becomes "cells"
  • Remove usage of Interfaces for Views (classes with public properties only)
  • Make all View properties public
  • Remove Datagrid and Column awareness from Views, makes serialzation possible
  • Intialize rows during the construct (and not per iteration) (no performance problems noticed)
  • ColumnOrderListener is removed as changing the order is no longer possible
    Changing the order should be done in the Datagrid configuration instead.

The DatagridView is less changeable (changing columns after creation is no longer possible) but this is a very limited use-case (note: hiding columns is still possible).

- Remove usage of Interfaces for Views
- Rename properties to remove "view" part
  eg. "cellViews" becomes "cells"
- Make all View properties public
- Remove Datagrid and Column awareness from Views, makes serialzation possible
- Intialize rows during the construct (and not per iteration)
- ColumnOrderListener is removed as changing the order is no longer possible
  Changing the order should be done in the Datagrid configuration instead.
@sstok sstok merged commit ff0e756 into rollerworks-graveyard:master Feb 3, 2016
sstok added a commit that referenced this pull request Feb 3, 2016
This PR was merged into the master branch.

Discussion
----------

|Q            |A  |
|---          |---|
|Bug Fix?     |no |
|New Feature? |no |
|BC Breaks?   |yes|
|Deprecations?|no |
|Fixed Tickets|   |

- Remove set-data filtering from Datagrid, data must be in the correct format when provided.
  A Datagrid should not hold configuration, **and** handle the correct data format.
- Rename properties to remove "view" part
  eg. "cellViews" becomes "cells"
- Remove usage of Interfaces for Views (classes with public properties only)
- Make all View properties public
- Remove Datagrid and Column awareness from Views, makes serialzation possible
- Intialize rows during the construct (and not per iteration) (no performance problems noticed)
- ColumnOrderListener is removed as changing the order is no longer possible
  Changing the order should be done in the Datagrid configuration instead.

The DatagridView is less changeable (changing columns after creation is no longer possible) but this is a very limited use-case (note: hiding columns is still possible).

Commits
-------

072937e Remove data filtering from Datagrid, data must be in the correct format
f754f54 Refactor Views for beter performance and less clutter
30ca58f Rename  to
ff0e756 Update UPGRADE instructions
@sstok sstok deleted the refactor-view branch February 3, 2016 09:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant