Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Stock-Market-Application/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"dependencies": {
"@syncfusion/ej2-base": "^26.1.35",
"@syncfusion/ej2-react-base": "^26.1.35",
"@syncfusion/ej2-react-notifications": "^26.1.35",
"@syncfusion/ej2-querybuilder": "^26.1.35",
"@syncfusion/ej2-react-querybuilder": "^26.1.35",
"@syncfusion/ej2-data": "^26.1.35",
Expand Down
2 changes: 1 addition & 1 deletion Stock-Market-Application/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
rel="stylesheet"
/>
<link
href="https://cdn.syncfusion.com/ej2/26.1.35/material-dark.css"
href="https://cdn.syncfusion.com/ej2/28.1.33/tailwind3.css"
rel="stylesheet"
/>
<script src="https://cdn.syncfusion.com/ej2/syncfusion-helper.js"></script>
Expand Down
6 changes: 6 additions & 0 deletions Stock-Market-Application/src/components/MyPortfolio.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import {
} from '@syncfusion/ej2-react-grids';
import { StockDetails } from '../data';
import { useNavigate } from 'react-router-dom';
import { MessageComponent } from '@syncfusion/ej2-react-notifications';

export default function MyPortfolio(props: { changeMarquee: Function, myStockDm: DataManager }) {
const navigate = useNavigate();
Expand Down Expand Up @@ -155,6 +156,11 @@ export default function MyPortfolio(props: { changeMarquee: Function, myStockDm:
enableHover={false}
commandClick={commandClick}
destroyed={destroyed}
allowSelection={false}
allowKeyboard={false}
emptyRecordTemplate={()=>{
return (<MessageComponent id="msg_info" content="Your portfolio has no stocks." severity="Info" variant="Filled"></MessageComponent>);
}}
>
<ColumnsDirective>
<ColumnDirective
Expand Down
Loading
Loading