ui-grid icon indicating copy to clipboard operation
ui-grid copied to clipboard

Support for Angular Material Design

Open frodefi opened this issue 11 years ago • 37 comments

Support for Angular Material Design so that ui-grid follows the material design principles. Would that be possible to include?

frodefi avatar Apr 03 '15 19:04 frodefi

I saw your SO post. Can you're clarify exactly what you're wanting? For a grid that uses Angular Material widgets and kinda looks the same?

Strictly following all the the principles, especially involved stuff like animation with ui grid is probably going to be a bit tough since it wasn't built with that in mind, but all the templates and CSS can be adjusted.

Take a link at the customizer link on the front page to set how you can tweak things.

c0bra avatar Apr 04 '15 18:04 c0bra

For a grid that uses Angular Material widgets and kinda looks the same?

Yes to this, no to strictly :)

Ok, will check out tweaking possibilities, thanks.

Since the Angular team spends so much resources into making it work with Material Design, it would generally be nice if the great Angular-UI team also saw the benefit of doing the same sometime in not-too-distance future :)

frodefi avatar Apr 04 '15 20:04 frodefi

Unfortunately the Angular UI-Grid team is MUCH smaller than both the Angular team AND the Angular-UI team, so getting stuff like this done relies a lot on community involvement and available time.

Any help in making something like this a reality would be very welcome!

c0bra avatar Apr 07 '15 14:04 c0bra

+1

DmitryEfimenko avatar Jul 22 '15 17:07 DmitryEfimenko

Check out Angular Data Table, a datatable made by some smart people and they have used Material Design (but you can customize as you like). Highly recommended and probably better than ui-grid. Check out their github-page too. Angular Material guys are also looking at it for their table version.

frodefi avatar Jul 23 '15 01:07 frodefi

+1

JustinPlute avatar Aug 12 '15 19:08 JustinPlute

+1

dayio avatar Sep 21 '15 12:09 dayio

+1

RimvydasUrbonas avatar Dec 03 '15 10:12 RimvydasUrbonas

+1

jodibean avatar Dec 11 '15 13:12 jodibean

+2

bastienJS avatar Jan 01 '16 19:01 bastienJS

+1

cb109 avatar Jan 14 '16 16:01 cb109

+1

dan2k3k4 avatar Jan 15 '16 11:01 dan2k3k4

+1

michelem09 avatar Feb 29 '16 16:02 michelem09

@c0bra @PaulL1 I have created an initial working ui-grid using angular-material-design to provide the material design elements. So far I have completed the column headers, column menu buttons and menus, grid menu button and menus, textbox column filters, and checkboxes for selection. I only made slight changes to three or four js files, had to load the templates via $compile to work with the ngMaterial directives, changed the html templates to use ngMaterial elements, and extended the .less files. The elements still use all of the original ui-grid classes, either using slight tweaks to the original class or a md-grid class to extend the element. What would you like to do with this? I used your code to create it so if you would like to bring it into the project that makes sense. If not, please let me know so that I can host it for the community. UI-Grid is an amazing, widely used tool so having a Material Design flavor is needed.

tuckerjt07 avatar Mar 02 '16 14:03 tuckerjt07

@tuckerjt07 good job! I agree that it would be a great contribution to the project. Do you have a public repository so I can review the changes? Ideally, this would be a feature that someone could add to their project by adding the module and directive to ui-grid.

swalters avatar Mar 02 '16 15:03 swalters

way to go @tuckerjt07 ! You are my hero! Can't wait to see this as a feature in ui-grid!

DmitryEfimenko avatar Mar 02 '16 16:03 DmitryEfimenko

@swalters I do but it isn't in the format that would support that currently. This is the repo, https://github.com/tuckerjt07/ui-grid. My thought was make the slight tweaks to the necessary directives, not changing functionality but to move the templateUrl into the link function using compile to the ui-grid base then allow the user to select the standard ui-grid templates or the md-grid templates based upon preference. One other feature I am working on is to move the grid-menu to a toolbar instead.

tuckerjt07 avatar Mar 06 '16 22:03 tuckerjt07

is there any progress on this ? I really would love to use a material theme

jmls avatar Mar 23 '16 15:03 jmls

+1 any update?

abartolo avatar Apr 26 '16 17:04 abartolo

+1 any news?

murlex avatar May 22 '16 14:05 murlex