Compare commits

..

21 Commits

Author SHA1 Message Date
Sean Landsman
d19c461847 Merge branch 'b23.0.0' 2020-03-17 14:29:28 +00:00
Sean Landsman
f2b515af7f Merge branch 'b22.1.0' 2019-12-06 10:45:32 +00:00
Sean Landsman
5561283927 Merge from latest (22.0.0) 2019-12-03 16:02:04 +00:00
Sean Landsman
86c353eaa9 Release 22.1.0 2019-12-02 14:30:27 +00:00
Sean Landsman
67fdecbe51 Release 22.0.0 2019-11-11 14:48:41 +00:00
Sean Landsman
66580db71c Merge branch 'b21.2.0' 2019-08-30 13:18:33 +01:00
Sean Landsman
aafdfc1a62 Update dist files 2019-08-29 14:49:26 +01:00
Sean Landsman
3a9e138d28 Merge branch 'b21.1.0' 2019-07-18 11:56:55 +01:00
Sean Landsman
6eb9fdf572 Release 21.1.0 dist files added and license key updated 2019-07-15 08:43:16 +01:00
Sean Landsman
25962ee140 Merge branch 'b21.0.0' 2019-06-04 13:50:31 +01:00
Sean Landsman
b26dfb5b82 Release 21.0.0 dist files added and license key updated 2019-05-31 08:14:14 +01:00
Sean Landsman
1d59920479 Merge branch 'b20.2.0' 2019-03-22 07:55:21 +00:00
Sean Landsman
6d3b5d8bd7 Release 20.2.0 dist files added and license key updated 2019-03-20 13:55:44 +00:00
Sean Landsman
6e31d0f067 Move react-router-dom to 5 2019-03-19 09:27:10 +00:00
Sean Landsman
a49a05f3ed Upgrade version 2019-03-18 10:54:31 +00:00
Sean Landsman
16f820c4f7 Merge branch 'b20.1.0' into master 2019-02-22 15:05:14 +00:00
Sean Landsman
839457ceda Release 20.1.0 dist files added and license key updated 2019-02-20 17:36:11 +00:00
Sean Landsman
cb6dbfb186 Merge b20.0.0 to Master 2019-01-11 10:47:17 +00:00
Sean Landsman
f81d48b3d4 AG-2490 Regression Testing - Header component example isn't working 2019-01-09 16:58:33 +00:00
Guilherme Lopes
06fa3f01fd AG-2235 - Updated font-awesome to 5.6.3 2019-01-09 15:11:59 +00:00
Sean Landsman
d15bb746cd Release 20.0.0 dist files added and license key updated 2019-01-08 17:05:16 +00:00
4 changed files with 22 additions and 24 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "ag-grid-react-example", "name": "ag-grid-react-example",
"version": "23.0.2", "version": "23.0.0",
"description": "Example Reach applicaiton using ag-Grid.", "description": "Example Reach applicaiton using ag-Grid.",
"main": "dist/ag-grid-react-example.js", "main": "dist/ag-grid-react-example.js",
"scripts": { "scripts": {

View File

@@ -5,7 +5,7 @@
<meta charset="utf-8"> <meta charset="utf-8">
<script type="text/javascript" src="../dist/react-examples.js" charset="utf-8"></script> <script type="text/javascript" src="../dist/react-examples.js" charset="utf-8"></script>
<!-- Example uses font awesome icons --> <!-- Example uses font awesome icons -->
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet"> <link href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" rel="stylesheet">
<style> <style>
html, body { html, body {

View File

@@ -31,10 +31,10 @@ export default class RichGridDeclarativeExample extends Component {
icons: { icons: {
columnRemoveFromGroup: '<i class="fa fa-times"/>', columnRemoveFromGroup: '<i class="fa fa-times"/>',
filter: '<i class="fa fa-filter"/>', filter: '<i class="fa fa-filter"/>',
sortAscending: '<i class="fa fa-long-arrow-down"/>', sortAscending: '<i class="fa fa-long-arrow-alt-down"/>',
sortDescending: '<i class="fa fa-long-arrow-up"/>', sortDescending: '<i class="fa fa-long-arrow-alt-up"/>',
groupExpanded: '<i class="fa fa-minus-square-o"/>', groupExpanded: '<i class="far fa-minus-square"/>',
groupContracted: '<i class="fa fa-plus-square-o"/>' groupContracted: '<i class="far fa-plus-square"/>'
} }
}; };
} }
@@ -75,14 +75,13 @@ export default class RichGridDeclarativeExample extends Component {
}; };
invokeSkillsFilterMethod = () => { invokeSkillsFilterMethod = () => {
this.api.getFilterInstance('skills', (instance) => { let skillsFilter = this.api.getFilterInstance('skills');
let componentInstance = instance.getFrameworkComponentInstance(); let componentInstance = skillsFilter.getFrameworkComponentInstance();
componentInstance.helloFromSkillsFilter(); componentInstance.helloFromSkillsFilter();
});
}; };
dobFilter = () => { dobFilter = () => {
this.api.getFilterInstance('dob', (dateFilterComponent) => { let dateFilterComponent = this.api.getFilterInstance('dob');
dateFilterComponent.setModel({ dateFilterComponent.setModel({
type: 'equals', type: 'equals',
dateFrom: '2000-01-01' dateFrom: '2000-01-01'
@@ -94,7 +93,6 @@ export default class RichGridDeclarativeExample extends Component {
setTimeout(() => { setTimeout(() => {
this.api.onFilterChanged(); this.api.onFilterChanged();
}); });
});
}; };
calculateRowCount = () => { calculateRowCount = () => {
@@ -221,7 +219,7 @@ export default class RichGridDeclarativeExample extends Component {
menuIcon: 'fa-bars' menuIcon: 'fa-bars'
} }
}}> }}>
<AgGridColumn headerName="#" width={40} <AgGridColumn headerName="#" width={30}
checkboxSelection sortable={false} suppressMenu filter={false} pinned> checkboxSelection sortable={false} suppressMenu filter={false} pinned>
</AgGridColumn> </AgGridColumn>
<AgGridColumn headerName="Employee" headerGroupComponentFramework={HeaderGroupComponent}> <AgGridColumn headerName="Employee" headerGroupComponentFramework={HeaderGroupComponent}>

View File

@@ -30,10 +30,10 @@ export default class SortableHeaderComponent extends React.Component {
sortElements.push(<div key={`up${this.props.displayName}`} className={downArrowClass} sortElements.push(<div key={`up${this.props.displayName}`} className={downArrowClass}
onClick={this.onSortRequested.bind(this, 'desc')}><i onClick={this.onSortRequested.bind(this, 'desc')}><i
className="fa fa-long-arrow-down"/></div>); className="fa fa-long-arrow-alt-down"/></div>);
sortElements.push(<div key={`down${this.props.displayName}`} className={upArrowClass} sortElements.push(<div key={`down${this.props.displayName}`} className={upArrowClass}
onClick={this.onSortRequested.bind(this, 'asc')}><i onClick={this.onSortRequested.bind(this, 'asc')}><i
className="fa fa-long-arrow-up"/></div>); className="fa fa-long-arrow-alt-up"/></div>);
sortElements.push(<div key={`minus${this.props.displayName}`} className={removeArrowClass} sortElements.push(<div key={`minus${this.props.displayName}`} className={removeArrowClass}
onClick={this.onSortRequested.bind(this, '')}><i onClick={this.onSortRequested.bind(this, '')}><i
className="fa fa-times"/></div>) className="fa fa-times"/></div>)