Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Table Fixed header #1338

Closed
fareed38 opened this issue Jan 20, 2017 · 1 comment
Closed

Table Fixed header #1338

fareed38 opened this issue Jan 20, 2017 · 1 comment

Comments

@fareed38
Copy link

fareed38 commented Jan 20, 2017

I am trying to make a fixed header for table in adminlte, but did not get the desire result. Fixed header is appearing in below css but it is not horizontal scroll bar and not responsive.

.fixedheader
{
position:fixed;
background-color: #ecf0f5;
margin-left:230px;
left:0;
right:0; 
padding: 15px 15px 0 15px;
}

My table is as follow

echo "<table class='table table-hover table-striped' style='white-space: nowrap;'>";
echo "<thead class='content-headerFixed'>
<tr>
<th>data1</th>
<th>data2</th>
<th>data3</th>
<th>data1</th>
<th>data2</th>
<th>data3</th>
<th>data1</th>
<th>data2</th>
<th>data3</th>
<th>data1</th>
<th>data2</th>
<th>data3</th>
</tr>
</thead>
<tbody>
<tr>
<th>1</th>
<th>2</th>
<th>3</th>
<th>4</th>
<th>5</th>
<th>6</th>
<th>7</th>
<th>8</th>
<th>9</th>
<th>10</th>
<th>11</th>
<th>12</th>
</tr>
</body></table>
@almasaeed2010
Copy link
Contributor

Hello,

Please refer to issue #591. Unfortunately, we can't provide much help here since this not an AdminLTE feature.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants