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
24 changes: 15 additions & 9 deletions .github/workflows/gitleaks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4.2.2
- name: Install the gitleaks
run: wget https://github.com/zricethezav/gitleaks/releases/download/v8.15.2/gitleaks_8.15.2_linux_x64.tar.gz
shell: pwsh
Expand All @@ -21,18 +21,24 @@ jobs:
continue-on-error: true
- name: Setup NuGet.exe
if: steps.gitleaks.outcome != 'success'
uses: nuget/setup-nuget@v1
uses: nuget/setup-nuget@v2
with:
nuget-version: latest
- name: Install the dotnet
- name: Install Mono
if: steps.gitleaks.outcome != 'success'
uses: actions/setup-dotnet@v3
with:
dotnet-version: '3.1.x'
run: |
sudo apt update
sudo apt install -y mono-complete
- name: Install the dotnet SDK to a custom directory
if: steps.gitleaks.outcome != 'success'
run: |
mkdir -p $GITHUB_WORKSPACE/dotnet
curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --install-dir $GITHUB_WORKSPACE/dotnet --channel 6.0
- name: Install the report tool packages
if: steps.gitleaks.outcome != 'success'
run: |
export PATH=$GITHUB_WORKSPACE/dotnet:$PATH
nuget install "Syncfusion.Email" -source ${{ secrets.NexusFeedLink }} -ExcludeVersion
dir $GITHUB_WORKSPACE/Syncfusion.Email/lib/netcoreapp3.1
dotnet $GITHUB_WORKSPACE/Syncfusion.Email/lib/netcoreapp3.1/GitleaksReportMail.dll ${{ secrets.CITEAMCREDENTIALS }} "$GITHUB_REF_NAME" ${{ secrets.NETWORKCREDENTIALS }} ${{ secrets.NETWORKKEY }} "$GITHUB_WORKSPACE" ${{ secrets.ORGANIZATIONNAME }}
exit 1
dir $GITHUB_WORKSPACE/Syncfusion.Email/lib/net6.0
dotnet $GITHUB_WORKSPACE/Syncfusion.Email/lib/net6.0/GitleaksReportMail.dll ${{ secrets.CITEAMCREDENTIALS }} "$GITHUB_REF_NAME" ${{ secrets.NETWORKCREDENTIALS }} ${{ secrets.NETWORKKEY }} "$GITHUB_WORKSPACE" ${{ secrets.ORGANIZATIONNAME }}
exit 1
58 changes: 47 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,54 @@
# Create React App
# EJ2 React Grid with Redux

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
## Repository Description

## Add Syncfusion Grid component in your application
This repository demonstrates how to integrate the Syncfusion EJ2 React Grid with Redux for centralized state management in a React application. It serves as a practical example for handling grid data, actions, and UI state using Redux while leveraging the rich features of the EJ2 React Grid component.

Refer the following UG documenation for adding Syncfusion React component in your application.
[Syncfusion-React-Grid](https://ej2.syncfusion.com/react/documentation/grid/getting-started/#adding-syncfusion-grid-packages)
[Demo](https://ej2.syncfusion.com/react/documentation/grid/getting-started/#adding-syncfusion-grid-packages)
## Overview

## Available Scripts
The project showcases a sample React application where the Syncfusion EJ2 React Grid is connected to a Redux store. Grid-related data and interactions are managed through Redux actions and reducers, helping developers understand how to implement predictable state management for complex UI components.

In the project directory, you can run:
## Key Features

### `yarn start`/ `npm start`
- Integration of Syncfusion EJ2 React Grid with Redux
- Centralized state management using Redux store
- Demonstrates data binding between Redux and the Grid component
- Illustrates handling of grid updates through Redux actions
- Clean example focused on learning and reference

Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
## Prerequisites

To run this project, ensure you have the following installed:
- Node.js
- npm or yarn
- Basic knowledge of React and Redux

## Running the Application

1. Clone the repository:

```cmd
git clone https://github.com/SyncfusionExamples/ej2-react-grid-redux.git
```

2. Navigate to the project folder:

```cmd
cd ej2-react-grid-redux
```

3. Install dependencies:

```cmd
npm install
```

3. Start the development server:

```cmd
npm start
```

## Resources

- https://ej2.syncfusion.com/react/documentation/grid/data-binding/redux-service
Loading
Loading