row().show() plugin

row().show() plugin

rf1234rf1234 Posts: 3,143Questions: 92Answers: 433
edited July 15 in DataTables 2

I think the row().show() plugin is no longer supported in the latest versions of Data Tables.
https://cdn.datatables.net/plug-ins/1.13.1/api/row().show().js

I've been using it like this:

table.row({selected: true}).show().draw(false);

That made sure that the page shown is the page with the selected record on it and not a completely different page.

I had asked this question some time ago - and the above plugin which no longer works was recommended to me.
https://datatables.net/forums/discussion/74841

What could the solution be if I migrated to the latest version of Data Tables?

This question has accepted answers - jump to:

Answers

  • allanallan Posts: 64,750Questions: 1Answers: 10,713 Site admin

    Hi,

    I've just tried creating a little test case with the plugin and it appears to be working: https://live.datatables.net/jixicaya/1/edit .

    Are you able to change my example or link to a page to show the issue?

    Allan

  • rf1234rf1234 Posts: 3,143Questions: 92Answers: 433

    Ok, if it's still working, I have no problem! But: It is no longer listed in the "Plugin" section. Hence I assumed it wasn't working any longer.

    Can you put it back into the "Plugin" section? That would be very much appreciated.

  • kthorngrenkthorngren Posts: 22,159Questions: 26Answers: 5,101
    Answer ✓

    Unless Allan just re-added it the plugin can be found in Plugins > API.

    Kevin

  • rf1234rf1234 Posts: 3,143Questions: 92Answers: 433

    I was looking for it under Plugins -> Pagination :neutral:

  • allanallan Posts: 64,750Questions: 1Answers: 10,713 Site admin
    Answer ✓

    It is already there?

    Have I misunderstood?

    Allan

  • rf1234rf1234 Posts: 3,143Questions: 92Answers: 433

    Yeah, it is already there under "Plugins -> API". I didn't look there because I think it is a Pagination plugin.

    No need for you to do anything. It's ok. I should have looked everywhere and not only under "Pagination".

    Roland

  • allanallan Posts: 64,750Questions: 1Answers: 10,713 Site admin
    Answer ✓

    Ah - I hadn't considered that, but yeah, I understand that way of looking at it. Thanks for the clarification.

    Allan

Sign In or Register to comment.