Page 1 of 1

xbrowse edit column

Posted: Wed Aug 08, 2018 3:16 am
by wartiaga
Hi,

I have a array xbrowse, how i can turn a cell editable and process a function when finish edit and make total this column?

Thanks in advance.

Re: xbrowse edit column

Posted: Wed Aug 08, 2018 12:00 pm
by nageswaragunupudi
Set oCol:nEditType := EDIT_GET. That makes the cell editable.
If you are not using a very old version of FWH, retotalling is automatically done by XBrowse.

When

Re: xbrowse edit column

Posted: Wed Aug 08, 2018 1:36 pm
by wartiaga
nageswaragunupudi wrote:Set oCol:nEditType := EDIT_GET. That makes the cell editable.
If you are not using a very old version of FWH, retotalling is automatically done by XBrowse.

When
Thanks for the answer but is not column totals, other totals in gets with many expressions. I want to do after edit the cell.

Re: xbrowse edit column

Posted: Wed Aug 08, 2018 1:41 pm
by nageswaragunupudi

Code: Select all

oCol:bOnChange := { |oCol, uOldValue| yourfunction( oCol, uOldValue ) }

Re: xbrowse edit column

Posted: Thu Aug 09, 2018 7:34 pm
by wartiaga
nageswaragunupudi wrote:

Code: Select all

oCol:bOnChange := { |oCol, uOldValue| yourfunction( oCol, uOldValue ) }
Thank you! Works great!