- Supported FontAwesome 6.
- Supported Bootstrap 5.
- Fixed issue #136 on not assigning
ctrlClass
to some of the column type. (Thanks malohtie for reporting)
- Supported Bootstrap Icons.
- Fixed issue #131 on passing
rowIndex
parameter togetRowValue
method. (Thanks scrnjakovic for reporting) - Fixed issue #132 about the order of array data added by using
insertRow
method. - Fixed no return values for
appendRow
andinsertRow
methods.
- Migrated
maxRowsAllowed
option from v1 that limited the maximum allowed rows of grid. - Migrated
maxNumRowsReached
callback from v1 that notify user when maximum allowed rows reached.
- Fixed a problem on removing a row when
hideRowNumColumn
is in used. (Thanks malohtie for reporting)
initData
orinitRows
will be handled after grid initialized.- Fixed a problem that numeric zero value cannot be set by using setCtrlValue method.
- Added
readonly
column type forbootstrap4
andbulma
UI framework. - Removed wrapper DIV element on table. It was used for
Fixed Header
feature but we can use other libraries such as jquery.floatThead for that. - Added
sizing
uiParams forbootstrap4
andbulma
UI framework. - Added
ctrlAdded
callback function that to be executed after control generated and added to table cell. - Removed
wrapper
which can be done by usingctrlAdded
callback with more customization.
- Fixed a problem on generating unusable AppendGrid.js file.
- Added
iconParams
for customize icons used within the grid. - Modified to support
display
as callback method. - Modified the data type of
uniqueIndex
of event callback argument to number format. - Reimplemented
headerSpan
from v1. - Reimplemented grid callbacks from v1.
- Reimplemented empty grid message from v1.
- Removed dependency on jQuery and jQuery UI and compatible with modern web frameworks such as Bootstrap 4.
- Fixed a problem on get/set values on select element with
multiple
attribute. (Thanks shahab2058 for reporting)
- Fixed jQuery UI Button issues on jQuery UI v1.12. (Thanks gdevilee for reporting)
- jQuery UI v1.12 will become minimum requirement as it had some breaking changes that incompatible with its previous version.
- Fixed a problem that column width is not correct when no command buttons visible at the end of row. (Thanks Ridwan09 for reporting)
- Fixed a problem that calculation on column width is wrong when
maxBodyHeight
is used with Bootstrap. (Thanks mrsiva26 for reporting)
- Fixed a problem that
uniqueIndex
becomeundefined
inafterRowDragged
callback. (Thanks rasikrodri for reporting)
- Added
maxBodyHeight
option to limit the maximum height on table body and vertical scrollbar will be displayed when this height limit is reached. (Thanks niftyhawk for suggestion) - Fixed a problem that
buttonClasses
is not working. (Thanks pbreah for reporting)
- Fixed a problem that
nameFormatter
is not working onhidden
type columns.
(Thanks robertadsoft for reporting)
- Added
maxRowsAllowed
option andmaxNumRowsReached
callback function to limit the number of rows allowed. (Thanks iannos for suggestion) - Added
maintainScroll
option to scroll the page after appended or removed last row. (Thanks iannos for suggestion) - Removed unnecessary coding so that
appendGrid
requires jQuery UI Core, Widget and Button components only for all standard features. But you will not able to use Datepicker or other jQuery UI widgets.
- Added
useSubPanel
option to enable the sub panal mode. Users can generated extra elements to the under each of the normal appendGrid row. Please notice thatuseSubPanel
is not compatible withrowDragging
feature. (Thanks iannos for naming) - Added
subPanelBuilder
andsubPanelGetter
callback function that required for sub panel. - Added
subPanel
option forsectionClasses
. - The long-awaited sub grid feature is available by make use of sub panel!
- Added
rowCountName
option for changing the key name of row count variable for the result ofgetAllValue
method. - Parameter order of
rowDataLoaded
method is changed. - Performaced improve by changing the use of insertRow and insertCell javascript function to appendChild.
caption
anddisplay
can be fully customized by passing a callback function. (Thanks iannos for suggestion)- Added
captionTooltip
anddisplayTooltip
that make use of jQuery UI tooltip for generate tooltip on caption or column header text. (Thanks iannos for suggestion) - Added
sectionClasses
that can specify CSS classes to different table section. (Thanks iannos for suggestion) - Added
emptyCriteria
option to identify a row is empty. Also,isRowEmpty
andremoveEmptyRows
methods are added that make use of this changes. (Thanks iannos for suggestion) - Added support on generating
select
element withoptgroup
support. You can also specify thetitle
attribute for each option. (Thanks iannos for suggestion) - Added
rowDataLoaded
callback function that will be useful when loading data into a row with controls with dynamic content, such as cascading drop down list.
- Added
afterRowDragged
callback function to be triggered after grid row dragged. (Thanks for PolarbearDK's work) - Added
nameFormatter
callback function for format the HTML name of generated controls. (Thanks iannos for suggestion)
- Added
invisible
option andshowColumn
/hideColumn
/isColumnInvisible
methods for changing / checking visibility of columns. - Added
resizable
option that allow column resizable. - Added
getColumn
method to get columns array used for grid initialization. - [Important] You are allowed to call
appendGrid
methods by passing ONE element in jQuery object only. It will not be affected if you are already using ID, such as $("#tblAppendGrid"), as jQuery selector.
- Added
getCellCtrl
andgetCellCtrlByUniqueIndex
methods for retrieving generated control for further customization.
- Added
customGridButtons
option for customize the standard grid buttons (append/remove last/insert/remove/move up/move down). (Thanks pixelwiz for suggestion) - Fixed a problem that the selection of
select
elements are not correct when dragging rows. (Thanks pixelwiz for reporting)
- Renamed
rowBottonsInFront
option torowButtonsInFront
. (Thanks artiaggarwal for reporting)
- Added
rowBottonsInFront
option to allow generating row buttons in the front of input columns. (Thanks artiaggarwal for suggestion)
- Added
headerSpan
to allow header cell column span. (Thanks Rajeevgandhi for suggestion) - Allowed to pass array of data to
appendRow
andinsertRow
method. (Thanks mailivore for suggestion) - Fixed a problem that empty row message will not be displayed when passing empty array to
load
method. (Thanks mailivore for reporting)
- Removed
firstCellWidth
andlastCellWidth
parameters - Added
customFooterButtons
option that allow adding extra buttons to the bottom of grid - The last column will not be displayed if all buttons are hidden
- Added
hideButtons
option that allow hiding each buttons individually and removedhideMoveUpDown
option - Added
customRowButtons
option that allow adding extra buttons at the last cell of each row - Added
hideRowNumColumn
option that allow to not generating the row number column - Added a message to be displayed when the grid is empty (Thanks mailivore for above ideas)
- Fixed a problem on setting default value on
hidden
type columns (Thanks mailivore for reporting)
- Fixed a problem on serializing
hidden
type columns (Thanks ahmedsaleh747 for reporting)
- Added
buttonClasses
initial parameters (Thanks suggestion from twinh)
- Added drag & drop support
- Added
rowDragging
andhideMoveUpDown
initial parameters
- Fixed a problem that
i18n
parameter not working even correct values passed in (Thanks DinkoMiletic for reporting)
- Fixed a problem on generating
ui-datepicker
columns (Thanks kado for reporting)
- Added support to HTML5 input type such as date/time/email
- Added
ctrlProp
column parameter
- Initial release