🍞🔡 The Powerful Component to Display and Edit Data. Experience the Ultimate Data Transformer!
MIT License
Bot releases are hidden (Show)
Published by seonim-ryu almost 6 years ago
withCredentials
option : Set the value of withCredentials flag to handle Access-Control-Allow-Credentials: true
header response when using Net addon.// readData
grid.use('Net', {
...
withCredentials: true
});
// createDate, updateData, deleteData, modifyData
net.request('createData', {
withCredentials: true
});
Published by seonim-ryu about 6 years ago
showDummyRows
option.showDummyRows
option and the total row height is less than the body height.Published by seonim-ryu about 6 years ago
findRows
: A callback function is added as a parameter. Only rows are returned when the callback function returns true
.grid.setData([
{
c1: 'foo',
c2: 10000
},
{
c1: 'bar',
c2: 20000
},
{
c1: 'baz',
c2: 1000
}
]);
const resultA = grid.findRows(function(row) {
return /b/g.test(row.c1) && row.c2 > 5000;
});
console.log(resultA); // c1: bar
const resultB = grid.findRows(function(row) {
return /b/g.test(row.c1) || row.c2 > 5000;
});
console.log(resultB); // c1: foo, bar, baz
Published by seonim-ryu over 6 years ago
{
treeColumnOptions: {
name: 'c1'
}
}
grid
property on theme optionssupport/1.9.x
branchrowNum
value of pagination is initialized when resetting dataPublished by seonim-ryu over 6 years ago
scrollTop
value is not initialized when data is reset.Published by seonim-ryu over 6 years ago
usageStatistics
option : Send the hostname to google analytics. If you do not want to send the hostname, this option set to false
.develop
branch is deleted.production
to mater
.api
to latest
.Published by seonim-ryu over 6 years ago
1
when using pagination and page is changed.Published by seonim-ryu over 6 years ago
columns.copyOptions.customValue
: This option is callback function and a returned value set to copying data when you want to copy a value that is neither original nor formatted value.Published by seonim-ryu over 6 years ago
bodyHeight
is not fixed when initialized option set auto
value and setBodyHeight
is calledPublished by seonim-ryu over 6 years ago
deleteRange
custom event that occured when multiple cells are deleted after multi-selectingrowSpanData
when keyboard action occurs after getting data with setTimeout
Published by seonim-ryu almost 7 years ago
hideColumn
API after scrollLeft value is changedPublished by seonim-ryu almost 7 years ago
columnOptions.frozenBorderWidth
: This option sets a border width of the frozen columnssetLanguage()
: This static API sets messages using in grid by the locale code and setting data is added on this API as the second parameter (ref.)tui.Grid.setLanguage('en-US', {
display: {
noData: 'No data',
// ...
},
// ...
});
tui-code-snippet v1.2.9
: With this version, scroll performance can be faster when using virtualScrolling
optionhideColumn()
mousedown
event when the cell border is clickedvirtualScrolling
option and scrollingPublished by seonim-ryu almost 7 years ago
summary
: This option creates a summary area and the feature of option is the same as previous footer
optionsummary.position
: This option sets the position of the summary area (top
or bottom
)setSummaryColumnContent()
: This API sets summary contents to each column dynamically and the feature of API is the same as previous setFooterColumnContent()
footer
setFooterColumnContent()
frozenCount
option and hideColumn()
Published by seonim-ryu about 7 years ago
frozenCount
optionvirtualScrolling: true
optionsetFrozenColumnCount
APIPublished by seonim-ryu about 7 years ago
copyOptions.useListItemText
: When this option is used, the copy value is concatenated textvirtualScrolling
optiongetCheckedRowKeys
APIheightResizable
optionPublished by seonim-ryu about 7 years ago
jquery
v1.11.0tui-code-snippet
v1.2.5tui-date-picker
v3.0.0tui-pagination
v3.0.0cell.focusedInactive
option is added on applyTheme
API's paramter to set color of inactive focus.Published by seonim-ryu over 7 years ago
instance
propertyclick
event returns targetType: 'etc'
when service page is scrolledbodyHeight: 'fitToParent'
is not applied when grid is createdPublished by seonim-ryu over 7 years ago
useViewMode
option and the cell data made by returned value of the converter
functionPublished by seonim-ryu over 7 years ago
DatePicker
component options (ref.)
timepicker
: Set to time-picker on the layertype
: Set to month or year-picker on the layertemplate
option on each item of rowHeaders
option to customize the contents in row headers (e.g.)editingEvent: 'click'
and the date is selectedPublished by seonim-ryu over 7 years ago
selectionUnit
to grid optionsgetIndexOfColumns()
: Get index number of specified column by column’s nameselection()
: Select cells or rows by rangeselection
custom event occurs when selecting cells or rows on Gridnet.request()
: Returns the state of request actiononBeforeChange
callback when the value is changed%
string