Hi there,
I have a custom command column in my grid, as follows...
.Columns(columns =>{ columns.Bound(b => b.Created_DisplayString); columns.Bound(b => b.Closed_DisplayString); columns.Command(command => command.Custom("Close or ReOpen").Click("onCloseReOpen"));})
My viewmodel has a (readonly) property that returns either "Close" or "ReOpen" (as appropriate)
public string CloseOrReOpen{ get { return (Closed_DateTime.HasValue ? "ReOpen" : "Close"); }}
How can I bind the text of the Command button to this property pls. (instead of the current "Close or ReOpen")?
Thx,
Erik

