Results 1 to 3 of 3

Thread: Grid panel with combobox column and bufferedrenderer

  1. #1
    Sencha User
    Join Date
    Nov 2012
    Posts
    4

    Default Grid panel with combobox column and bufferedrenderer

    Hi,

    I have a grid panel where one of the columns is a combobox for each record. The performance wasn't very good with any sizable amount of records due to having to render all those comboboxes. I found and added the bufferedrenderer plugin to the grid panel and it improved the performance dramatically.

    Awesome....however, there is functionality in the grid to allow a user to select a row and remove it. The problem lies with if the user scrolls down far enough, removes a row, and then scrolls back up, the combobox doesn't get rendered for any of the trailing records that are outside of the buffer. The two other columns (1 text, 1 checkbox) show up fine for each of those records, it is just the combobox that doesn't show.

    Everything works fine when you initially load the grid and scroll down, the comboboxes take a split second to render but do show up.

    Any ideas to force the combobox to render?

    Thanks

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    So you're talking about the comboboxes in rows above the record you deleted? Were they rendered initially (already) or are they fresh records? With which specific version of Ext JS are you seeing this?

  3. #3
    Sencha User
    Join Date
    Nov 2012
    Posts
    4

    Default

    Quote Originally Posted by Gary Schlosberg View Post
    So you're talking about the comboboxes in rows above the record you deleted? Were they rendered initially (already) or are they fresh records? With which specific version of Ext JS are you seeing this?
    Hi Gary, yes i'm talking about comboboxes in records above the record i delete (they are out of view outside of the trailing buffer). Yes they were rendered initially. Using 4.2.4.

    I had another problem that I worked around: If I didn't do any scrolling, just load the grid, records with comboboxes render fine, remove a record, the comboboxes would also dissapear (visible records currently in view). To get around this I suspend events on my grid's store and they would stay rendered after removing the record. Unfortunately this doesn't work for the above problem.

Similar Threads

  1. Grid Panel with combobox in each cell of one column
    By theRedPill in forum Ext: Q&A
    Replies: 2
    Last Post: 24 Sep 2015, 8:08 AM
  2. Grid Panel with combobox in each cell of one column
    By theRedPill in forum Ext: Q&A
    Replies: 7
    Last Post: 11 Sep 2015, 12:07 PM
  3. Grid Panel with combobox in each cell of one column
    By theRedPill in forum Ext: Discussion
    Replies: 0
    Last Post: 10 Sep 2015, 6:37 PM
  4. Replies: 3
    Last Post: 16 Oct 2014, 9:53 AM
  5. Replies: 3
    Last Post: 1 Jan 2014, 8:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •