Beispiel #1
0
 /// <summary>
 /// 配置行单击事件
 /// </summary>
 private void ConfigOnClick(TableRowBuilder builder)
 {
     if (_config.Contains(UiConst.OnClick))
     {
         builder.AddAttribute("(click)", _config.GetValue(UiConst.OnClick));
         return;
     }
     builder.AddAttribute("(click)", GetShareConfig()?.OnClickRow);
 }
Beispiel #2
0
 /// <summary>
 /// 添加行事件
 /// </summary>
 private void AddRowEvents(TableRowBuilder rowBuilder)
 {
     rowBuilder.AddAttribute("(click)", _config.GetValue(UiConst.OnClickRow));
 }