       sel_idxs = renderer.get_ref('data_source').get('selected')
       ds = renderer.get_ref('data_source')
       data = ds.get('data')
+      #hugo - there must be a better way
+      if (not rendererview.screenx) or (not rendererview.screeny)
+        rendererview.calc_buffer(data)
       fcolor = @mget('foreground_color')
       rvm = rendererview.model
-      
+
       fcolor = rvm.get('foreground_color')
       unselected_color = @mget('unselected_color')
       color_field = rvm.get('color_field')

    @bind_overlays()
    @$el.addClass('table_wrap')
    return this
    
  render : () ->
    super()
    o_w = @mget('outerwidth')


  render : ->
    super()

    row_heights =  @model.layout_heights()
    col_widths =  @model.layout_widths()
    y_coords = [0]
