I have a gridview and I'm looking for a way to hide a specific column (e.g. BirthDate) when viewing the grid on mobile or tablet devices using bootstrap. Does anyone know how to accomplish this? I came across a solution, but it seems to be tailored for bootstrap 3. Any help would be appreciated. Thank you!
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" CellSpacing="-1" HorizontalAlign="Center" Height="80px" Width="800px" AutoGenerateColumns="False" EnableModelValidation="True" OnPageIndexChanging="GridView1_PageIndexChanging">
<RowStyle BackColor="#FFFBD6" ForeColor="#333333" BorderColor="Black" BorderStyle="Solid" BorderWidth="1px" HorizontalAlign="Center" />
<Columns>
<asp:BoundField DataField="EmployeeID" HeaderText="Employee">
<HeaderStyle BorderColor="#CC9966" />
</asp:BoundField>
<asp:BoundField DataField="Name" HeaderText="Name" />
<asp:BoundField DataField="Surname" HeaderText="Surname" />
<asp:BoundField DataField="BirthDate" HeaderText="Date of Birth">
<ItemStyle HorizontalAlign="Right" />
</asp:BoundField>
</Columns>
</asp:GridView>