web/views/tableview.py
changeset 7894 ad0eeb0f7a8d
parent 7845 2172978be237
parent 7883 cd98785b4a84
child 7907 08320697ca1a
equal deleted inserted replaced
7889:6cebeb1f386a 7894:ad0eeb0f7a8d
    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