angular-table icon indicating copy to clipboard operation
angular-table copied to clipboard

look into simplifying the fixed header implementation by using pure css

Open davidjnelson opened this issue 12 years ago • 4 comments

Here is a way to do it:

http://salzerdesign.com/blog/?p=191

Could cut out maybe 50 lines of code.

davidjnelson avatar Jun 23 '13 23:06 davidjnelson

It should be good, because now if table start with empty data, it's count weird height and width. And height doesn't change even if got data, always show 1 row.

garaboncias avatar Jul 22 '13 02:07 garaboncias

thanks for finding that issue. I'll mark it as investigating and take a look.

davidjnelson avatar Jul 22 '13 15:07 davidjnelson

I don't think the pure css is the good way, as i see other frameworks (ex. kendo-ui) do the same as you, separate div for header and for body. Pure css has a lots of constraint.

garaboncias avatar Aug 03 '13 20:08 garaboncias

@garaboncias Radics, I agree. I originally tried to do it with pure css and it just didn't meet my needs.

davidjnelson avatar Aug 06 '13 16:08 davidjnelson