@visns-studio/visns-components 1.3.16 → 1.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1201,14 +1201,25 @@ const DataGrid = ({
1201
1201
  <ReactDataGrid
1202
1202
  columns={gridColumns}
1203
1203
  dataSource={data}
1204
+ filterValue={filterValue}
1204
1205
  defaultLimit={limit}
1205
1206
  defaultSortInfo={sortInfo}
1206
1207
  enableColumnAutosize={false}
1207
- idProperty="uniqueId"
1208
- style={gridStyle}
1208
+ enableColumnFilterContextMenu={false}
1209
+ enableSelection={false}
1210
+ headerProps={headerProps}
1211
+ idProperty={`visns-datagrid-${ajaxSetting.url.replace(
1212
+ /\//g,
1213
+ "-"
1214
+ )}`}
1215
+ minRowHeight={40}
1216
+ onFilterValueChange={setFilterValue}
1209
1217
  onRenderRow={onRenderRow}
1210
1218
  pagination
1211
1219
  renderColumnContextMenu={renderColumnContextMenu}
1220
+ rowHeight={null}
1221
+ showZebraRows={true}
1222
+ style={gridStyle}
1212
1223
  />
1213
1224
  <Popup
1214
1225
  open={modalShow}
package/package.json CHANGED
@@ -34,7 +34,7 @@
34
34
  "react-dom": "^17.0.1"
35
35
  },
36
36
  "name": "@visns-studio/visns-components",
37
- "version": "1.3.16",
37
+ "version": "1.4.1",
38
38
  "description": "Various packages to assist in the development of our Custom Applications.",
39
39
  "main": "index.js",
40
40
  "devDependencies": {},