Ticket #2023 (closed defect: fixed)
[PATCH] Allow datagrid to set name at display time
|Reported by:||mw44118||Owned by:||faide|
the datagrid widget uses the name parameter to set html ID of the widget. So, if I want to render the same datagrid instance twice on the same page, I get an html validation error, because I have two tables with the same id.
It is already possible to pass in name='blah' to the display method, and the docs say that this should be used to set the name parameter, but actually, the value passed in to display is overwritten by the self.name value.
So, this patch fixes that issue.