Skip to content
This repository has been archived by the owner on Jun 30, 2024. It is now read-only.

Commit

Permalink
Merge branch 'master' of https://github.com/Akinzekeel/BlazorGrid
Browse files Browse the repository at this point in the history
  • Loading branch information
Akinzekeel committed Aug 8, 2021
2 parents 79ad8bc + 3a9d7d1 commit 98f0460
Show file tree
Hide file tree
Showing 5 changed files with 177 additions and 29 deletions.
24 changes: 12 additions & 12 deletions BlazorGrid.Demo/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion BlazorGrid.Demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"gulp-sass": "4.0.2",
"gulp-rename": "1.4.0",
"rimraf": "2.6.3",
"lodash": ">=4.17.19",
"lodash": ">=4.17.21",
"yargs-parser": ">=13.1.2"
},
"scripts": {
Expand Down
147 changes: 147 additions & 0 deletions BlazorGrid/Resources/Resources.sp.resx
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="Empty_Text" xml:space="preserve">
<value>No hay datos para mostrar</value>
</data>
<data name="Empty_Text_Filtered" xml:space="preserve">
<value>La búsqueda no arrojó resultados</value>
</data>
<data name="Empty_Title" xml:space="preserve">
<value>Sin datos</value>
</data>
<data name="Footer_FilteredRowCount" xml:space="preserve">
<value>Mostrando {0} de {1} filas</value>
</data>
<data name="Footer_RowCount" xml:space="preserve">
<value>{0} total de filas</value>
</data>
<data name="LoadingError_ReloadBtnText" xml:space="preserve">
<value>Reintentar</value>
</data>
<data name="LoadingError_Text" xml:space="preserve">
<value>No se pudieron cargar los datos</value>
</data>
<data name="LoadingError_Title" xml:space="preserve">
<value>Error</value>
</data>
<data name="Loading_Text" xml:space="preserve">
<value>Cargando</value>
</data>
</root>
24 changes: 12 additions & 12 deletions BlazorGrid/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@
BlazorGrid is yet another grid component for Blazor. I was inspired to write this because I've been using jQuery.DataTables for a long time and felt that incorporating more than 15,000 lines of JavaScript into my Blazor application probably wasn't the best approach.

The primary goals of this component are:
- Displaying remote data
- Sorting, searching and advanced filtering of remote data
- Displaying remote data by utilizing virtualization
- Sorting and searching of remote data (backend support required)
- Require as little markup as possible to define the grid
- Use custom RenderFragments for the cells
- Highly customizable UI by providing SCSS
- Using a customizable data provider (which can use JSON, gRPC or anything else as a source)
- Using a delegate to provide the data (which can pull the data via JSON, gRPC or anything else)
- High performance by intelligently preventing unnecessary render events

Check out the website for more information & demos:
## [blazorgrid.z6.web.core.windows.net](https://blazorgrid.z6.web.core.windows.net/)
## [blazorgrid.z6.web.core.windows.net](https://blazorgrid.z6.web.core.windows.net/)

0 comments on commit 98f0460

Please sign in to comment.