Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 9150ec8

Browse files
Vishnu-MoorthiVishnu-Moorthi
Vishnu-Moorthi
authored and
Vishnu-Moorthi
committed
Syncfusion Streamlit Grids example added.
1 parent 208ad84 commit 9150ec8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ OrderID, CustomerName, OrderDate, Freight, ShippedDate, ShipCountry
6262
4. Syncfusion components come with pre-defined themes that are built-in. To learn more about these themes, you can refer to the [themes topic](https://ej2.syncfusion.com/react/documentation/appearance/theme/). By default, the Syncfusion Streamlit Grid component uses the `Material` theme, but users have the ability to change the theme of the Grid component at the application level. The Grid component in this article is using the `Fluent` theme, which is referenced using the code snippet below.
6363

6464
```py
65-
props.theme = 'https://cdn.syncfusion.com/ej2/21.1.35/fluent.css'
65+
props.theme = 'https://cdn.syncfusion.com/ej2/22.1.34/fluent.css'
6666
```
6767

6868
Here is the summarized code for the above steps in the **demo.py** file:
@@ -73,7 +73,7 @@ import pandas as pd
7373

7474
data = pd.read_csv('dataset.csv')
7575
props = GridProps(data)
76-
props.theme = 'https://cdn.syncfusion.com/ej2/21.1.35/fluent.css'
76+
props.theme = 'https://cdn.syncfusion.com/ej2/22.1.34/fluent.css'
7777

7878
GridComponent(props)
7979
```
@@ -88,10 +88,10 @@ streamlit run demo.py
8888

8989
The output will appear as follows:
9090

91-
![demo](./images/ej2_streamlit_grids_demo.png)
91+
![demo](images/ej2_streamlit_grids_demo.png)
9292

9393
## Grid features demo
9494

9595
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:
9696

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

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /