Notes |
|
(0068703)
|
dbaz
|
2014-07-17 15:23
|
|
This column is not showed anymore following the steps to reproduce.
Is there any other place/flow where the issue can be reproduces? |
|
|
|
Hi, apply the attached patch to the examples module to have an example of the button.
Regards. |
|
|
(0068966)
|
hgbot
|
2014-07-30 01:38
|
|
Repository: erp/devel/pi
Changeset: 7ad630b1df1f129b00f4cf29ee3ce7bb716e5707
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Wed Jul 30 01:37:56 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/7ad630b1df1f129b00f4cf29ee3ce7bb716e5707 [^]
Related to issue 27083, Related to issue 27085, Related to issue 26635:
* Now clientClass OBGridFromButton used as editorType doesn't span the row width
* 'isShownInGridEdit' now it works ok in grid view (pick and execute grids still pending)
* 'canEdit' can be overwritten by specifying it in the clientClass widget
---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-canvas.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-grid.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
---
|
|
|
(0068967)
|
dbaz
|
2014-07-30 01:45
|
|
A changeset has been added to, in the wrong case that a new button is shown in top of the previous one, its width be the proper one.
Anyway, there are two things wrong with the current samplecode
* Ensure that the column having the button is in 'Read Only' mode to avoid the new button in the top of the previous one.
* Optional: add the attribute 'isShownInGridEdit: true' to the button definition to ensure that it always is going to be shown in the row. I said optional because this property it is not completly well implemented in the pick and execute grids, so is possible that the button be shown even without it. |
|
|
|
|
|
|
Code reviewed and verified in pi@7ad630b1df1f |
|