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

How can I bring toolbar if it is not there? #103

Open
ruchabhutada opened this issue Mar 19, 2016 · 2 comments
Open

How can I bring toolbar if it is not there? #103

ruchabhutada opened this issue Mar 19, 2016 · 2 comments

Comments

@ruchabhutada
Copy link

I want toolbar in grid view. how can I bring that ?
I m putting code like this:
var obj = {
editModel: { clicksToEdit: 2 },
scrollModel: {autoFit: true},
showTop: false,
refreshView:true,
showBottom: true,
toolbar : {
items: [
{ type: 'button', label: 'Add', icon: 'ui-icon-plus' },
{ type: 'button', label: 'Edit', icon: 'ui-icon-pencil' },
{ type: 'button', label: 'Delete',icon: 'ui-icon-minus' }
]
},
dataModel: { data: arrayData}
};
What else code I have to put.??
But I m not able to see toolbar.
Please help me sir. Please sir.!!

@paramquery
Copy link
Owner

showTop should be true.

@ruchabhutada
Copy link
Author

working very fine
Thank you so much sir!!

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