Skip to content

[InMethod Grid] Appendable #109

Merged
merged 2 commits into from Mar 30, 2012

2 participants

@raystorm
WicketStuff member

trying to bring new columns and Appendable changes into master AGAIN.....

hopefully it works this time.......

=Tom B added some commits Mar 29, 2012
=Tom B [InMethod Grid] Ability to add new rows & new column types
**Appendable Changes**
 - Added `IAppendableDataSource` - defines a data source capable of adding new rows
 - Added `AppendableDataProvider` - example IAppendableDataSource implementation that wraps IDataProvider
 - Added `AddRecordsToolbar` - toolbar with a button for adding new records to a data grid
 - Added `AbstractPageableView#clearCache()` - clears the query cache to force complete redraw on next render
 - Added `DataGrid#insertRow(T rowData)` - inserts a new row of data into the end of the current page
 - Added `DataGridBody#insertRow(T rowData)` - inserts a new row of data into the end of the current page
 - Added `DataGridBody#createItem(T rowData)` - returns an item to be inserted
 - Added `DataGridBody#clearCache(T rowData)` - clears the query cache to force complete redraw on next render

**New Columns**
 - `AddDeleteColumn` - extends SubmitCancel with a third button Delete
   - Added a necessary notice file for the delete button with licensing info
 - `EditableDateColumn` - like EditablePropertyColumn but for dates
 - `EditableCheckBoxColumn` - for editing boolen fields
 - `DropDownChoiceColumn` - for Displaying a Drop Down Selector in a column
 - `LinkColumn` - displays a link in a column
 - `PageLinkColumn` - example LinkColumn implementation for linking to internal wicket pages

**Miscl Updates**
 - column Headers now wrap along with the columns.
 - added `{ }` after some if statements
 - removed useless `== true` from some if statements
 - converted `== false` to ! for some if statements
f286b70
=Tom B [InMethod Grid] Added missing Wicket-DateTime dependency for Editable…
…DateColumn

loosened SubmitCancelPanel#getGrid() to protected for AddDeletePanel
07191e0
@martin-g martin-g merged commit c548dea into wicketstuff:master Mar 30, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.