0
分組之前之後:劍道網格標題和列不對齊分組
分組後:電網
代碼片段:
"controls": [
{
"control_key": "siteassignment_grid",
"control_type_key": "grid",
"target_device_key": "normal",
"configuration": {
"AssignmentGrid": {
"options": {
"AllowSorting": {
"mode": "single",
"allowUnsort": "false"
},
"AllowFiltering": "true",
"AllowGrouping": "true",
"AllowReordering": "true",
"Selection": "false"
},
"schema": {
"fields": [
"string",
"string",
"string",
"string",
"string",
"string",
"string",
"string",
"string",
"string",
"string",
"string"
]
},
"columns": [
{
"headerTemplate": "<input type='checkbox' id='chkSelectAll' class='chkSelectAll' onclick='SiteAssignment.Widget.SearchSitesAssign.checkAll(this)'/>",
"template": "<input type='checkbox' class='checkbox' onclick='SiteAssignment.Widget.UpdateAssignment.LoadWidget()'/>", "width": "25px"
},
{
"field": "element_code",
"title": "Config Item Id",
"min_width": "75",
"max_width": "75",
},
{
"field": "element_desc",
"title": "Config Item Name",
"min_width": "110",
"max_width": "110",
"template": "#= SiteAssignment.Widget.SearchSitesAssign.GridColumnToolTip(element_desc) #"
},
.. .etc ...
知道分組時觸發了更改事件,我檢查了代碼以查看是否有任何可能導致此問題的原因。我禁用了這個,仍然有這個問題。任何幫助將不勝感激。