Skip to content

Commit e8332d7

Browse files
Merge pull request #6 from Vishnu-Moorthi/master
Modified the README document content
2 parents a90160b + 75279e0 commit e8332d7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ OrderID, CustomerName, OrderDate, Freight, ShippedDate, ShipCountry
5555
data = pd.read_csv('dataset.csv')
5656
props = GridProps(data)
5757

58-
SfGrid(props)
58+
SfGrid(Props=props)
5959
```
6060

6161
## Import Syncfusion CSS styles
@@ -65,7 +65,7 @@ You can import themes for the Syncfusion Streamlit component from the CDN. Refer
6565
You can change the default theme with any of the available [built-in themes](https://ej2.syncfusion.com/react/documentation/appearance/theme/). In this article, the `Fluent` theme is applied using `theme` property, which are available in CDN. The necessary `Fluent` CSS styles for the Grid component were passed into the `theme` property, which is referenced using the code snippet below.
6666

6767
```py
68-
props.theme = 'https://cdn.syncfusion.com/ej2/23.1.36/fluent.css'
68+
props.theme = 'https://cdn.syncfusion.com/ej2/26.1.35/fluent.css'
6969
```
7070

7171
## Run the application
@@ -78,9 +78,9 @@ import pandas as pd
7878

7979
data = pd.read_csv('dataset.csv')
8080
props = GridProps(data)
81-
props.theme = 'https://cdn.syncfusion.com/ej2/23.1.36/fluent.css'
81+
props.theme = 'https://cdn.syncfusion.com/ej2/26.1.35/fluent.css'
8282

83-
SfGrid(props)
83+
SfGrid(Props=props)
8484
```
8585

8686
Ensure that terminal is in the correct project directory where **demo.py** is located. Run the application using the following command:
@@ -97,4 +97,4 @@ The output will appear as follows:
9797

9898
The Grid component is rendered along with some additional features in the **demo.py** file located in the **demos** folder. The resulting output with these features will be displayed as depicted below:
9999

100-
![demo](images/ej2_streamlit_grids_demos.gif)
100+
![demo](images/ej2_streamlit_grids_demos.gif)

0 commit comments

Comments
 (0)