AG-2914 DOCS - Add docs around react hooks with editors.
This commit is contained in:
@@ -1,15 +1,19 @@
|
||||
import React from "react";
|
||||
import PriceRenderer from "./PriceRenderer";
|
||||
import PriceEditor from "./PriceEditor";
|
||||
|
||||
export const initialState = {
|
||||
rowData: [],
|
||||
columnDefs: [
|
||||
{
|
||||
field: 'symbol'
|
||||
field: 'symbol',
|
||||
editable: true
|
||||
},
|
||||
{
|
||||
field: 'price',
|
||||
cellClass: 'align-right',
|
||||
editable: true,
|
||||
cellEditorFramework: PriceEditor,
|
||||
cellRendererFramework: PriceRenderer
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user