⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Bootstrap Theme - Unset Search by Column



marlaaragao

marlaaragao
  • profile picture
  • Member

Posted 09 September 2015 - 00:56 AM

Hello!

 

Is there a way to unset the search box in some or all the columns in Bootstrap Theme? 

Thanks!


marlaaragao

marlaaragao
  • profile picture
  • Member

Posted 21 October 2015 - 10:56 AM

Does anyone know how to do it? Thanks!


Pablo Uribe

Pablo Uribe
  • profile picture
  • Member

Posted 16 November 2015 - 19:50 PM

Hi, try this

 

 

$('#search_field option').each(function () {
                var val = $(this).val();
                if (val == 'columname') {    
                    $(this).remove();
                    return false;
                }
            });