Look for the answer in Tadorna. Couldn't be bothered to post the answer here aswell...
 
//Lars
 
-----Original Message-----
From: akash malohatra [mailto:[EMAIL PROTECTED]
Sent: 30. juli 2004 01:33
To: [EMAIL PROTECTED]
Subject: [Axapta-Knowledge-Village] Edit method problem in Grid..

Hi All,

I have problem in implimenting this Edit method. When
i am trying to click the check box. It never checks ,
still its editable...whats wrong in code....


edit NoYes markTrans(boolean                 set,
                     CommissionTrans
_commissionTrans,
                     NoYes              _markTrans)
{
    
     if (set)
    {
      element.lock();
        if (_markTrans == NoYes::Yes)
        {
          BalanceAmount += _CommissionTrans.AmountMST;
       }
        else
        {
         
          BalanceAmount -= _CommissionTrans.AmountMST;
        }
      element.unLock();
      this.refresh();
   }
  
    return _MarkTrans;
}

This method is in the Datasource of the form . and
this is a checkbox in my grid.

Thanks
Akash



     
     
           
___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun!  http://uk.messenger.yahoo.com


Sharing the knowledge on Axapta.




Sharing the knowledge on Axapta.


Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to