Any standard data table (no cross-row or cross-column), just set the id (default is id = PowerTable) and it will take effect!
Modify, delete, edit, table rows and columns at will, support dragging the table header to exchange columns;
sort by column in Chinese and English (Chinese sorting supports pinyin and strokes, and 500 lines of Chinese sorting takes less than 3 seconds! Thanks to myhyli for helping to improve the sorting speed)
Pour out to generate a streamlined data table (no redundant code).
The relevant display colors can be customized through the following variables
show_col = false ;
charMode = 1;
act_bgc = "#BEC5DE";
act_fc = "black";
cur_bgc = "#ccffcc";
cur_fc = "black";
ATT. If referenced in a larger page, please change the content of the window.onload event After pointing to the PowerTable!
PS. My Chinese character sorting method should be at least equivalent to Qiu Shui's. They both refer to the word table and get the index position, but without pinyin recognition, so the efficiency should be equivalent (the principles are the same)!