Comments (2)
Hi,
We need some more time to provide you with an example. Please bear with us.
from devextreme-angular.
After some research, it appears that DxScrollView doesn't transclude its content. I have created a corresponding issue #49. To create DxToolbar, you can use the code below:
in your host component TS code:
import { Component } from '@angular/core';
import { DxToolbar } from 'devextreme-angular2';
@Component({
moduleId: module.id,
selector: 'app-root',
templateUrl: 'app.component.html',
styleUrls: ['app.component.css'],
directives: [DxToolbar]
})
export class AppComponent {
toolbarItems = [{
location: 'before',
widget: 'dxButton',
options: {
text: 'Press me',
icon: 'refresh',
onClick: function() {
alert("Hello world!");
}
}
}
];
}
in your HTML template:
<dx-toolbar [items]="toolbarItems"></dx-toolbar>
We believe this doesn't look natural for Angular 2. So I created one more issue on this regard #50.
from devextreme-angular.
Related Issues (20)
- Angular 11 'CommonJS or AMD Dependencies' warning on devextreme-angular v20.2.4 HOT 2
- TypeError: window.getComputedStyle is not a function HOT 1
- devextreme-angular 21.1.3: dxDataGridColumn deprecated HOT 3
- You are running production build of Inferno in development mode. Use dev:module entry point. HOT 1
- Angular Gantt Chart: Browser hangs if drawing gantt chart with dependencies HOT 1
- ChangeDetection.OnPush for DevExtreme Angular components HOT 1
- Angular 13 with devextreme 21.2.3: TypeError: (0 , _core_renderer__WEBPACK_IMPORTED_MODULE_0__.default)(...)[component] is not a function
- Angular 13: Migrate library to Ivy HOT 4
- Validate file size in the dx-file-uploader. HOT 1
- Cant create data source using version 21.2.4 - breaking change HOT 5
- How to implement a custom page size selector for angular?
- dxo-toolbar not found error & custom toolbar not begin displayed HOT 1
- Angular Observable compatibility
- Angular 13 : Issue with button inside a Textbox
- Dependency Dashboard
- DataGrid RowFilter OData Lookup Bug
- Reporting a vulnerability
- Error when using with Angular 16.0.0 HOT 10
- Angular DxDataGrid: Prevent clearing mouse selection on row expansion
- DevExtreme don't works with Angular 16 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from devextreme-angular.