[UPD] readme

pull/871/head
Holger Brunn 2015-03-11 18:05:40 +01:00 committed by Simone Orsi
parent 0dba5d648f
commit 9b65b5d85d
1 changed files with 19 additions and 1 deletions

View File

@ -29,10 +29,28 @@ attributes::
<field name="my_field" widget="x2many_2d_matrix"
field_x_axis="my_field1" field_y_axis="my_field2" field_value="my_field3" />
You can pass the following parameters:
field_x_axis
The field that indicates the x value of a point
field_y_axis
The field that indicates the y value of a point
field_label_x_axis
Use another field to display in the table header
field_label_y_axis
Use another field to display in the table header
field_value
Show this field as value
show_row_totals
If field_value is a numeric field, calculate row totals
show_column_totals
If field_value is a numeric field, calculate column totals
Known issues / Roadmap
======================
* ...
* no validation yet
* it would be better to instantiate the proper field widget and let it render the input
Credits
=======