Tuesday, 6 January 2015

Grid posted records as editable if not posted, else non - editable :

  public int active()
{
    int ret;
    if(IPMPFComodityLines.Post == NoYes::Yes)
    {
        TransactionLinesGrid.allowEdit(false);
    }
    else
        {
            TransactionLinesGrid.allowEdit(true);
    }
    ret = super();
    return ret;
}

No comments:

Post a Comment