javascript - Handsontable is not fully rendered when using Chrome's built in search function -
weird, inconsistent problem running when using chrome's built in search function. have 250 lines of data rendered in handsontable, more can displayed on screen without scrolling or zooming out.
http://jsfiddle.net/hu6kz/3723/
var mydata = [ ["", "kia", "nissan", "toyota", "honda"], ["lots of data begins here"], ]; $("#examplegrid").handsontable({ data: mydata, startrows: 5, startcols: 5, minsparecols: 1, minsparerows: 1, rowheaders: true, colheaders: true, contextmenu: true }); observe when first pull page, can scroll down , data rendered in handsontable.
now hit control + f pull chrome's built in search function. search character in handsontable. of data in handsontable no longer rendered! data rendered again if search else, seems inconsistent , can't find common cause..
this not seem problem in firefox, company decidedly in chrome camp. me, o wizards of internet.
this because handsontable uses wonderful technique called "virtual rendering" renders rows looking @ plus few more. makes possible display "infinitely" many rows. problem ctrl+f searches html text won't able search using this.
this why there search plugin available returns list of matching cells. there can many things on enter, scrollto next available matching cell (search). famous application filter rows recreating table less data (filter).
Comments
Post a Comment