diff --git a/docs/columns.md b/docs/columns.md index d472e67..afeffe7 100644 --- a/docs/columns.md +++ b/docs/columns.md @@ -7,6 +7,7 @@ Available properties in a column object: * [text (**required**)](#text) #### Optional +* [isDummyField](#isDummyField) * [hidden](#hidden) * [formatter](#formatter) * [formatExtraData](#formatExtraData) @@ -84,6 +85,11 @@ dataField: 'address.city' ## column.text (**required**) - [String] `text` will be the column text in header column by default, if your header is not only text or you want to customize the header column, please check [`column.headerFormatter`](#headerFormatter) +## column.isDummyField - [Bool] +Sometime, you just want to have a column which is not perform any data but just some action components. In this situation, we suggest you to use `isDummyField`. If column is dummy, the [`column.dataField`](#dataField) can be any string value, cause of it's meaningless. + +There's only one different for dummy column than normal column, which is dummy column will compare the whole row value instead of cell value when call `shouldComponentUpdate`. + ## column.hidden - [Bool] `hidden` allow you to hide column when `true` given.