diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/wwwroot/libs/abp/aspnetcore-mvc-ui-theme-shared/datatables/datatables-extensions.js b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/wwwroot/libs/abp/aspnetcore-mvc-ui-theme-shared/datatables/datatables-extensions.js index 19a109b884..01851aaa59 100644 --- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/wwwroot/libs/abp/aspnetcore-mvc-ui-theme-shared/datatables/datatables-extensions.js +++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/wwwroot/libs/abp/aspnetcore-mvc-ui-theme-shared/datatables/datatables-extensions.js @@ -32,6 +32,12 @@ var abp = abp || {}; } var _createDropdownItem = function (record, fieldItem, tableInstance) { + if (fieldItem.divider) { + return $(fieldItem.dividerHtml ? + (abp.utils.isFunction(fieldItem.dividerHtml) ? fieldItem.dividerHtml(record, tableInstance) : fieldItem.dividerHtml) + : '
  • '); + } + var $li = $('
  • '); var $a = $('').addClass('dropdown-item');