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

Possible to move the menu above the header row? #1116

Closed
panesofglass opened this issue Apr 18, 2014 · 2 comments
Closed

Possible to move the menu above the header row? #1116

panesofglass opened this issue Apr 18, 2014 · 2 comments

Comments

@panesofglass
Copy link

I would like to modify the grid template itself to allow the menu above the header row. Is that possible? On a related note, I also want to apply bootstrap classes. Is that possible in some way?

@scotttrinh
Copy link

@panesofglass I think something like #1108 might help you. Uses ng's $templateCache to give you control over the grid html.

@c0bra
Copy link
Contributor

c0bra commented Apr 18, 2014

@panesofglass As Scott says, you can override the template to alter any of the directive elements as you see fit.

You can also use directive stacking to alter behavior. It could be as simple as adding your own ngRow and doing $elm.addClass('yourBootstrapClass'). Check this wiki page for more info: https://github.com/angular/angular.js/wiki/Understanding-Directives

And you can also look at src/features in the 3.0 branch for how we're handling directive stacking there.

I'll close for now; we can reopen if you run into more issues.

@c0bra c0bra closed this as completed Apr 18, 2014
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

3 participants