 ControlsView = require './controls-view'
 FileFinderUtil = require '../file-finder-util'
 {$} = require 'space-pen'
+parseInterval = require 'postgres-interval'
 window.jQuery = require 'jquery'
 
 class ResultsPaneView extends DockPaneView


    reset: () ->
        @empty()
    render: (resultset) ->
        return unless resultset.complete and resultset.columns
        options =

            c["rerenderOnResize"] = true
            c["id"] = c["field"]
            c["width"] = 200
            c["formatter"] = @formatter
            max = 0
            for d in resultset.rows
                ## console.log 'hej->', c["field"], d[c["field"]].length, max
