Skip to content

row.child("some htmls").show() is not working with scrolling pagination #93

Description

@deniztas10

I have a pagination table but not not like 1-2-3-4-5.

Problem is first page working on row.child("some htmls").show(),
But second and after pages doesn't work row.child("some htmls").show()

How do I this ?

$('#dt-tablenametbody td.details-control').on('click', '.table-arrow', function () {

                var tr = $(this).closest('tr');
                var row = table.row(tr);
            
                if ( row.child.isShown() ) {
                  row.child.hide();
                  tr.removeClass('shown');
            
                } else {

                    var threadsChildRowsHtml = ChildRowTemplate(jsonData);
                    row.child(threadsChildRowsHtml).show();
                    
                    tr.addClass('shown');
                }
            
                tr.find('.table-arrow').toggleClass('arrow-up arrow-down');
            });

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions