Skip to content

Commit

Permalink
Merge pull request #19101 from abpframework/8.1-datatables-actions-fix
Browse files Browse the repository at this point in the history
Fix rendering actions cell on specific cases
  • Loading branch information
maliming committed Feb 21, 2024
2 parents d1f6d34 + eef8885 commit a25af41
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ var abp = abp || {};
var cells = $(nRow).children("td");
for (var i = 0; i < cells.length; i++) {
var cell = cells[i];
if (cell._DT_CellIndex && cell._DT_CellIndex.row === iDisplayIndex && cell._DT_CellIndex.column === colIndex) {
if (cell._DT_CellIndex && cell._DT_CellIndex.column === colIndex) {
var $actionButton = $(cell).find(".abp-action-button");
if ($actionButton.length === 0) {
$(cell).empty().append($actionContainer);
Expand Down

0 comments on commit a25af41

Please sign in to comment.