title: How to hide a particular column in jQuery jTable with the user option?
body: <p>I am using jQuery jtable to fetch data from my server. In my jtable I need to hide certain columns with the user option, for this I have written a function inside my fields as shown. In this particular table I want to hide the Description column for this I am getting the value such as 'Device Fault' from the user. So, if the user select device fault I want to hide only that particular column in the table. </p>
  
  <pre><code>        fields: {
          Date: {
              title: 'Date',
          },
          Event_name: {
              title: 'Event Name',
          },
          Event_Description: {
              title: 'Event Description',
  
          },
          Tag: {
              title: 'Tag',
          },
          Description: {
              title: 'Description',
              visibility: function(data){
                if(selectedEventName == 'Device Faults'){
                  return = hidden;
                }
                else{
                  return = fixed;
                }
              },
          },
          Serial_number: {
              title: 'Serial Number',
          },
          IP_address: {
              title: 'IP Address',
          },
      },
  </code></pre>
  
  <p>How can I achieve this, can someone help me with this.</p>
  
  <p>Thanks</p>