web/views/tableview.py
branchstable
changeset 7883 cd98785b4a84
parent 7830 37d23a1d3547
child 7894 ad0eeb0f7a8d
child 7900 e9b79f5c3571
equal deleted inserted replaced
7880:f475a34d0ddc 7883:cd98785b4a84
    92 
    92 
    93         :param title: title added before table
    93         :param title: title added before table
    94         :param subvid: cell view
    94         :param subvid: cell view
    95         :param displayfilter: filter that selects rows to display
    95         :param displayfilter: filter that selects rows to display
    96         :param headers: columns' titles
    96         :param headers: columns' titles
       
    97         :param displaycols: indexes of columns to display (first column is 0)
       
    98         :param displayactions: if True, display action menu
    97         """
    99         """
    98         req = self._cw
   100         req = self._cw
    99         req.add_js('jquery.tablesorter.js')
   101         req.add_js('jquery.tablesorter.js')
   100         req.add_css(('cubicweb.tablesorter.css', 'cubicweb.tableview.css'))
   102         req.add_css(('cubicweb.tablesorter.css', 'cubicweb.tableview.css'))
   101         # compute label first  since the filter form may remove some necessary
   103         # compute label first  since the filter form may remove some necessary