#PythonEntitySetColor
    clr.AddReference('Kingdee.BOS.Core')
    from Kingdee.BOS.Core.DynamicForm.PlugIn.ControlModel import *

    def AfterEntryBarItemClick(e):
            grid = this.View.GetControl[EntryGrid]("FSaleOrderEntry")#需要设置的单据体标识Key
            grid.SetRowBackcolor("#FFFF00", 0)#设置整行背景颜色
            grid.SetForecolor("FMaterialName","#FF0000", 0)#需要设置字段标识Key

相关文章:

  • 2022-12-23
  • 2021-10-31
  • 2021-12-22
  • 2021-07-07
  • 2022-12-23
  • 2021-07-30
  • 2021-11-27
  • 2022-02-02
猜你喜欢
  • 2022-02-10
  • 2022-12-23
  • 2021-06-25
  • 2022-12-23
  • 2021-11-29
  • 2022-01-01
相关资源
相似解决方案