Releases: nhn/tui.grid
Releases · nhn/tui.grid
v4.4.1
v4.4.0
Bugfixes
- Fixed that row height is set to the default row height, when the cell content height is larger than the default value. (#599 )
- Fixed that TypeError has been caused when clicked header cell. (#608 )
- Fixed that when called resetData API on editing the cell, TypeError has been caused. (#608 )
Enhancement
- Support row hover theme. (#614 )
- Users can use new theme option for row hover.
- deprecate existing theme row option in future.
- extOptions.cell.currentRow
- extOptions.cell.evenRow
- extOptions.cell.oddRow
- extOptions.cell.dummy
- Code
Grid.applyTheme('custom', { row: { hover: { background: '#00eeff' }, even: { background: '#00eeff' }, odd: { background: '#00eeff' }, dummy: { background: '#00eeff' } } });
- New Custom Event. (#616 )
- The header cell's check event is added.(
checkAll
,uncheckAll
)
- The header cell's check event is added.(
- Improve performance of the updating component as changes props internally. (#611 )
Features
- TOAST UI Grid v4.4.0 provides align, vertical-align option for header cell. (#603 )
- Code
const grid = new Grid({ data, column, header: { height: 40, // apply the align, valign option to all columns in common valign: 'top' | 'middle' | 'bottom', align: 'left' | 'center' | 'right', // need to configure align or valign options of each column // this option is a higher priority than common option columns: [ { name: 'col1', valign: 'top' | 'middle' | 'bottom', align: 'left' | 'center' | 'right' } ] } });
Documents
v3.9.1
v4.3.0
Bugfixes
- Fixed setting wrong row height in case that rowHeight option is
auto
. (#592 ) - Fixed that scrolling position is off calculated when focuses the cell with expanded tree row. (#596 )
Enhancement
- Support mobile touch event. (#594 )
- Users can edit the cell on mobile through double tap.
- We are planned to provide long term touch event after the context cell menu is added.
- Applying the binary search internally. (#598 )
- The performance is improved on finding the index or row with the rowKey as applying binary search
- New Custom Event. (#602 )
- The lifecycle event method is added(
onGridMounted
,onGridBeforeDestroyed
) - The Editing event is added(
editingStart
,editingFinish
) - The resizing column event is added(
columnResize
)
- The lifecycle event method is added(
v4.2.0
Bugfixes
- Fixed that the data of createdRows and updatedRows are duplicated as the result of calling getModifiedRows method. (#540 )
- Fixed the incorrect range on setSelectionRange method. (#549 )
- Fixed that the disabled cell is able to be edited. (#575 )
- Fixed that dblclick is not working. (#579 )
- Fixed that the editing cell displays null value on the view. (#584 )
Features
- TOAST UI Grid v4.2.0 provides the enhanced sorting functionality.
- The new grid event that sorting event is added for those who need to subscribe the event after sorting the data. (#536 )
- Users can cancel the sorting by just clicking 3 times without calling any method. (#556 )
- The Multi Column Sorting is provided. Users can sort the data by multiple columns through the ctrl or command key combination. (#570 )
- Code
// grid column option columns: [ { name: 'alphabetA', header: 'alphabetA(desc)', minWidth: 150, sortable: true, sortingType: 'desc', editor: 'text' }, { name: 'alphabetB', header: 'alphabetB(asc)', minWidth: 150, sortable: true, sortingType: 'asc', editor: 'text' }, { name: 'alphabetC', header: 'alphabetC(desc)', minWidth: 150, sortable: true, sortingType: 'desc', editor: 'text' } ]
Enhancement
- Performance
Documents
v4.1.0
Bugfixes
- Fixed that calculating column width when resizes the specific column. (#516 )
- Fixed that wrong left position of the editing layer. (#518 )
- Fixed that changing wrong selection, focus and clipboard area with row headers. (#517 )
- Fixed that calculating row span in case the specific row has multi row span. (#520 )
- Apply GA option to TOAST UI dependencies. (#522 )
Features
- Added
finishEditing
instance method for destroying the editing layer. (#509 ) - Added
sortingType
option for changing initial sort order. (#525 )
Specification Change
- Editing layer
- Users need to destroy the custom editor by calling the specific method. Sometimes, they have to select or modify editor's value thorough their custom layer created outside our custom editor area.
For example,element ui date-picker
is that case. Due to date-picker dropdown attached document as an another root element, cannot modify the editing grid value. Because editing layer would be destroyed when mousedown event emitted outside editing area(based DOM element). So we will providefinishEditing
method and the editing layer is only destroyed by changing the focused cell. (#480 )
- Users need to destroy the custom editor by calling the specific method. Sometimes, they have to select or modify editor's value thorough their custom layer created outside our custom editor area.
Documents
v3.9.0
Bugfixes
- Fixed that scroll sticking with header selection. (#484 )
- Added global jquery to commonJS. (#490 )
- Fixed that column resizable option is not applicable. (#491 )
- Fixed that expanded, collapsed event. (#506 )
- Apply GA option to TOAST UI dependencies. (#528 )
Features
- Added
sortingType
option for changing initial sort order. (#494 )
v4.0.3
Bugfixes
- Fixed that when clicks the sort button, button class is not updated. (#468 )
- Fixed that the editing layer is not destroyed when removes the row includes an edting layer. (#486 )
- Fixed that the summary data does not changed for updating the reactive row data. (#496 )
- Added missing minRowHeight option. (#501 )
- Fixed that miscalculate the position for the focus layer in case either scrollX or scrollY option is false. (#518 )
v2.10.2
Bugfixes
- Fixed that the last row height is incorrect when deleting rows and setting the
rowHeight
option.