Set Grid Color :to change the background color of a cell, row, column, or the entire control.
Set Grid Font :to change the type, style, size, effects, and color of the font in a cell, row, column, or the entire control.
Set Grid Row Format : to use HTML formatting commands to control the appearance of the grid, not only for color and font, but for other factors as well.
业务场景:需要将某些列的负数用红色显示,函数使用如下所示
参数:设置GRID,设置作用域(当前行、全部行),设置列,设置样式
时间: 2024-11-05 12:31:49