[CLOSED] GridPanel with BufferedRenderer Bug

Page 2 of 2 FirstFirst 12
  1. #11
    I'm getting an error when trying to access the BufferedRenderer.

    Ext.Net.GridPanel mainTable = new Ext.Net.GridPanel()
    {
    	ID = "MainTable",
    	Title = mainTableTitle,
    	ForceFit = true,
    	MultiSelect = true,
    	Plugins = {
    		new Ext.Net.BufferedRenderer(){
    			ID = "MainTable_BufferedRenderer"
    		}
    	},
    	Store = { GetStore() },
    	SelectionModel = {
    		new Ext.Net.CellSelectionModel(){ }
    	}
    };
    grid.getPlugin('MainTable_BufferedRenderer').scrollTo(0, false);
    grid.getStore().reload({ params: { json: jsonString} });
    Uncaught TypeError: Cannot call method 'scrollTo' of undefined
    Also not sure how to specify the store reload as a callback function?
  2. #12
    I'm getting an error when trying to access the BufferedRenderer.
    Try this
    grid.getView().bufferedRenderer.scrollTo(0, false);
    Also not sure how to specify the store reload as a callback function?
    Callback is just js function
    grid.getView().bufferedRenderer.scrollTo(0, false, function () {
        grid.getStore().reload({ params: { json: jsonString} });
    });
    Vladimir Shcheglov
    Sr. Developer
  3. #13
    Finally worked. Thanks!!
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 7
    Last Post: Jun 26, 2015, 10:04 AM
  2. [CLOSED] bufferedrenderer in version 2.1
    By JCarlosF in forum 2.x Premium Help
    Replies: 1
    Last Post: Aug 13, 2013, 5:45 PM

Tags for this Thread

Posting Permissions