ASP.net Core MVC Awesome v. 6 release notes

Date: 15 February 2019 Grid custom rendering using
CustomRender
grid mod Grid
api.model(row)
method, used instead of
row.data('model')
Grid
api.nestClose(nest)
method, used instead of
nest.data('api').close()
Grid
api.renderRow
returns a string instead of jQuery object Enabled extension for all editors and the button client side api
enable(bool)
method for all editors dropmenu (odropdown, combobox, multiselect, etc.) tree structure dropmenu grouping dropmenu non value items (group headers, lines) dropmenu tree nodes lazy loading and collapsing improved performance for dropmenu rendering and client search
CollapseNodes(bool)
setting for odropdown, multiselect DatePicker
DayFunc(string)
extension, used for disabling and setting custom css classes for certain days DatePicker improved handling of incorrect user input
PopupMinWidth(int)
odropdown setting
PopupMaxHeight(int)
odropdown setting ( 0 for unlimited )
Top(bool)
popup extension, opens popup with position top
Column.MinWidth
used for setting initial width also ( used to be just for resizing ) Grid rendered values encoded by default
Encode(bool)
grid extension for disabling default encoding Tree Grid can have header groups
ClearCacheOnLoad(bool)
for odropdown, combobox, multiselect, default is true
SelectOnFocus(bool)
combobox extension, will select combobox text value on focus
CloseOnEmptyQuery(bool)
combobox extension removed
CloseOnEmpty()
combobox extension
nocache
parameter for odropdown SearchFunc extension rtl support for dropmenu
AutoUrl(bool)
extension for editors, default is true, set false to disable default url by convention
PopupButtonText(string)
setting for the DatePicker, Lookup and MultiLookup drag and drop improvements drag and drop sticky placeholder for
awem.dragReor
wave effect can set antiforgery token globally for all awe post requests, or add any other global additional parameters by setting
awe.bfr
(before request), set in utils.js init function css themes improvements, added bts theme fix double footer on api.update fix for grid inline editing, when edit columns have
NoHide()
fix for grid inline create on core with json auto lowercase other fixes and improvements css improvements

Migrating from previous versions

If you have calls to grid
row.data('model')
, replace them with
utils.model(row)
( which will call grid
api.model(row)
) example:
var model = $('#Grid1').find('.awe-row').first().data('model'); // old
var model = utils.model($('#Grid1').find('.awe-row').first()); // new
Replace calls to grid
api.nestClose(nest)
with
utils.closeNest(nest)
grid
api.renderRow
now returns
string
instead of jQuery object, so in certain situations you might need to replace
var row = api.renderRow(model);
with
var row = $(api.renderRow(model));
If you've copied code from our demos, you can compare your code with the new updated demos.