Skip to content

Commit bee83fe

Browse files
authored
CardView - Simple Array - fix menuMeta & column names (DevExpress#29928)
1 parent 94009e3 commit bee83fe

File tree

9 files changed

+21
-35
lines changed

9 files changed

+21
-35
lines changed

apps/demos/Demos/CardView/SimpleArray/Angular/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ if (window && window.config?.packageConfigPaths) {
2222
export class AppComponent {
2323
customers: Customer[];
2424

25-
columns = ['CompanyName', 'City', 'State', 'Phone', 'Fax'];
25+
columns = ['CompanyName', 'Address', 'City', 'State', 'Zipcode', 'Phone'];
2626

2727
constructor(service: Service) {
2828
this.customers = service.getCustomers();

apps/demos/Demos/CardView/SimpleArray/React/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22
import CardView, { Column } from 'devextreme-react/card-view';
33
import { customers } from './data.ts';
44

5-
const columns = ['CompanyName', 'City', 'State', 'Phone', 'Fax'];
5+
const columns = ['CompanyName', 'Address', 'City', 'State', 'Zipcode', 'Phone'];
66

77
const App = () => (
88
<CardView

apps/demos/Demos/CardView/SimpleArray/ReactJs/App.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22
import CardView, { Column } from 'devextreme-react/card-view';
33
import { customers } from './data.js';
44

5-
const columns = ['CompanyName', 'City', 'State', 'Phone', 'Fax'];
5+
const columns = ['CompanyName', 'Address', 'City', 'State', 'Zipcode', 'Phone'];
66
const App = () => (
77
<CardView
88
dataSource={customers}

apps/demos/Demos/CardView/SimpleArray/Vue/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313
import { DxCardView, DxColumn } from 'devextreme-vue/card-view';
1414
import { customers } from './data.ts';
1515
16-
const columns = ['CompanyName', 'City', 'State', 'Phone', 'Fax'];
16+
const columns = ['CompanyName', 'Address', 'City', 'State', 'Zipcode', 'Phone'];
1717
</script>

apps/demos/Demos/CardView/SimpleArray/jQuery/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ $(() => {
22
$('#card-view').dxCardView({
33
dataSource: customers,
44
keyExpr: 'ID',
5-
columns: ['CompanyName', 'City', 'State', 'Phone', 'Fax'],
5+
columns: ['CompanyName', 'Address', 'City', 'State', 'Zipcode', 'Phone'],
66
});
77
});

apps/demos/menuMeta.json

Lines changed: 16 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1615,6 +1615,7 @@
16151615
{
16161616
"Name": "Card View",
16171617
"Equivalents": "dxCardView, dx-cardview, cardview",
1618+
"Badge": "New",
16181619
"Groups": [
16191620
{
16201621
"Name": "Overview",
@@ -1624,8 +1625,7 @@
16241625
"Title": "Overview",
16251626
"Name": "Overview",
16261627
"Widget": "CardView",
1627-
"DemoType": "Web",
1628-
"Badge": "New"
1628+
"DemoType": "Web"
16291629
}
16301630
]
16311631
},
@@ -1641,8 +1641,7 @@
16411641
"MvcDescription": "",
16421642
"NetCoreDescription": "",
16431643
"MvcAdditionalFiles": [],
1644-
"DemoType": "Web",
1645-
"Badge": "New"
1644+
"DemoType": "Web"
16461645
},
16471646
{
16481647
"Title": "Web API Service",
@@ -1652,8 +1651,7 @@
16521651
"MvcDescription": "",
16531652
"NetCoreDescription": "",
16541653
"MvcAdditionalFiles": [],
1655-
"DemoType": "Web",
1656-
"Badge": "New"
1654+
"DemoType": "Web"
16571655
}
16581656
]
16591657
},
@@ -1669,8 +1667,7 @@
16691667
"MvcDescription": "",
16701668
"NetCoreDescription": "",
16711669
"MvcAdditionalFiles": [],
1672-
"DemoType": "Web",
1673-
"Badge": "New"
1670+
"DemoType": "Web"
16741671
},
16751672
{
16761673
"Title": "Filter Panel",
@@ -1680,8 +1677,7 @@
16801677
"MvcDescription": "",
16811678
"NetCoreDescription": "",
16821679
"MvcAdditionalFiles": [],
1683-
"DemoType": "Web",
1684-
"Badge": "New"
1680+
"DemoType": "Web"
16851681
},
16861682
{
16871683
"Title": "Search Panel",
@@ -1691,8 +1687,7 @@
16911687
"MvcDescription": "",
16921688
"NetCoreDescription": "",
16931689
"MvcAdditionalFiles": [],
1694-
"DemoType": "Web",
1695-
"Badge": "New"
1690+
"DemoType": "Web"
16961691
}
16971692
]
16981693
},
@@ -1704,8 +1699,7 @@
17041699
"Title": "Sorting",
17051700
"Name": "Sorting",
17061701
"Widget": "CardView",
1707-
"DemoType": "Web",
1708-
"Badge": "New"
1702+
"DemoType": "Web"
17091703
}
17101704
]
17111705
},
@@ -1721,8 +1715,7 @@
17211715
"MvcDescription": "",
17221716
"NetCoreDescription": "",
17231717
"MvcAdditionalFiles": [],
1724-
"DemoType": "Web",
1725-
"Badge": "New"
1718+
"DemoType": "Web"
17261719
},
17271720
{
17281721
"Title": "Data Validation",
@@ -1732,8 +1725,7 @@
17321725
"MvcDescription": "",
17331726
"NetCoreDescription": "",
17341727
"MvcAdditionalFiles": [],
1735-
"DemoType": "Web",
1736-
"Badge": "New"
1728+
"DemoType": "Web"
17371729
}
17381730
]
17391731
},
@@ -1745,8 +1737,7 @@
17451737
"Title": "Selection",
17461738
"Name": "Selection",
17471739
"Widget": "CardView",
1748-
"DemoType": "Web",
1749-
"Badge": "New"
1740+
"DemoType": "Web"
17501741
}
17511742
]
17521743
},
@@ -1762,8 +1753,7 @@
17621753
"MvcDescription": "",
17631754
"NetCoreDescription": "",
17641755
"MvcAdditionalFiles": [],
1765-
"DemoType": "Web",
1766-
"Badge": "New"
1756+
"DemoType": "Web"
17671757
},
17681758
{
17691759
"Title": "Column Chooser",
@@ -1773,8 +1763,7 @@
17731763
"MvcDescription": "",
17741764
"NetCoreDescription": "",
17751765
"MvcAdditionalFiles": [],
1776-
"DemoType": "Web",
1777-
"Badge": "New"
1766+
"DemoType": "Web"
17781767
}
17791768
]
17801769
},
@@ -1790,8 +1779,7 @@
17901779
"MvcDescription": "",
17911780
"NetCoreDescription": "",
17921781
"MvcAdditionalFiles": [],
1793-
"DemoType": "Web",
1794-
"Badge": "New"
1782+
"DemoType": "Web"
17951783
},
17961784
{
17971785
"Title": "Field Template",
@@ -1801,8 +1789,7 @@
18011789
"MvcDescription": "",
18021790
"NetCoreDescription": "",
18031791
"MvcAdditionalFiles": [],
1804-
"DemoType": "Web",
1805-
"Badge": "New"
1792+
"DemoType": "Web"
18061793
},
18071794
{
18081795
"Title": "Toolbar Customization",
@@ -1812,8 +1799,7 @@
18121799
"MvcDescription": "",
18131800
"NetCoreDescription": "",
18141801
"MvcAdditionalFiles": [],
1815-
"DemoType": "Web",
1816-
"Badge": "New"
1802+
"DemoType": "Web"
18171803
}
18181804
]
18191805
}
20 KB
Loading
20.3 KB
Loading
19.9 KB
Loading

0 commit comments

Comments
 (0)