Roundcube Community Forum

 

Sort foreign column

Started by unicorn, January 18, 2011, 08:22:38 AM

Previous topic - Next topic

unicorn

Hi everybody,

I added column by this way to the message list:

$list_cols = $this->_rcmail->config->get('list_cols');
if (!in_array('resolver', $list_cols)) {
   array_unshift($list_cols, 'resolver');
   $this->_rcmail->config->set('list_cols', $list_cols);         
}

Is there any possibility to sort this new column by roundcube?

Thank you for your hints.

umount

Quote from: unicorn;32542Hi everybody,

I added column by this way to the message list:

$list_cols = $this->_rcmail->config->get('list_cols');
if (!in_array('resolver', $list_cols)) {
   array_unshift($list_cols, 'resolver');
   $this->_rcmail->config->set('list_cols', $list_cols);         
}

Is there any possibility to sort this new column by roundcube?

Thank you for your hints.

I use next construction for my plugin arrival

$(document).ready(function(){
  var link_sort = ''+rcmail.get_label('arrival')+'';
  $("#rcmarrival").html(link_sort);
});

unicorn

umount, it's excelent hint, thank you very much.

unicorn

umount, one morec question. Do you anything else after this replace? When I click on added column it seems, that sorted message list isn't correct.