xbrowse edit column

Post Reply
wartiaga
Posts: 83
Joined: Wed May 25, 2016 1:04 am

xbrowse edit column

Post 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.
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: xbrowse edit column

Post 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
Regards

G. N. Rao.
Hyderabad, India
wartiaga
Posts: 83
Joined: Wed May 25, 2016 1:04 am

Re: xbrowse edit column

Post 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.
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: xbrowse edit column

Post by nageswaragunupudi »

Code: Select all

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

G. N. Rao.
Hyderabad, India
wartiaga
Posts: 83
Joined: Wed May 25, 2016 1:04 am

Re: xbrowse edit column

Post by wartiaga »

nageswaragunupudi wrote:

Code: Select all

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