AutoFill icon disappears on scrolling down

AutoFill icon disappears on scrolling down

ssurajita111ssurajita111 Posts: 14Questions: 6Answers: 0

Hi,

AutoFill icon disappears after certain number of row display(around 20 - 30) on scroll down of data table without any dragging event. I again see this icon on moving back to top .

new AutoFill(oTable, { mode: 'y'}); //Autofill

Regards,
Soumya

Answers

  • allanallan Posts: 63,552Questions: 1Answers: 10,477 Site admin

    Can you link me to a test case showing the issue? Are you using Scroller? I suspect the two won't be fully compatible as Scroller will redraw the table on page down.

    Allan

  • ssurajita111ssurajita111 Posts: 14Questions: 6Answers: 0

    Yes I am using scrollbar. And I mentioned displayLength as 20. And after 20 lines the icon disappearing. Even If I comment displayLength then also same issue persisting

  • allanallan Posts: 63,552Questions: 1Answers: 10,477 Site admin

    Scroller as in the extension? If so, I doubt the two will work together.

    Allan

  • ssurajita111ssurajita111 Posts: 14Questions: 6Answers: 0

    Hi Alan,

    I fixed the above issue. AutoFill init() make the below change.
    $(this.dom.table).on('mouseover mouseout','tbody>tr>td',function(e){
    that._fnFillerDisplay.call(that,e);
    });

    But I am stucked at another issue related to autofill. After autofill (copy a cell content to multiple cells in nth page) the total table refresh is happening and it scrolls to load the 1st page. I want to stay at the same cell where autofill operation ends its task.

    PFB the test case for reference. https://github.com/ssurajita/TestProjects/tree/master/AutoFillTest

    Regards,

    Soumya

This discussion has been closed.