Problems encountered in C# development ------ bootstraptable data is misplaced when binding data

Problem Description:

  When using bootstraptable, if it is custom to have rows and columns merged, the display will be misaligned when binding data

  (Dislocation means that the data in column A is displayed in column B, and the data in column B may be displayed in column C, but the bound column is correct, but the display is wrong)

problem causes:

  After investigation, it is because rowspan and colspan are used at the same time in non-data columns (column names). Specifically, why can't they be used at the same time? I haven't found the answer yet. If you know, please give me an answer.

problem solved:

  When modified to use only one of them (rowspan or colspan), the display is normal

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325010360&siteId=291194637