Home > front end >  Layui table in how to save the state after dragging the column width?
Layui table in how to save the state after dragging the column width?

Time:12-29

Such as topic, front end using the table of layui, want to persist after drag header column width width, want to know the eldest brother advice please, thank you,


Layui. In table form using

The first 20 points, you answer is very good, I will add at least 100 points.

CodePudding user response:

Do you want in js initialization method of dynamic set a fixed width

CodePudding user response:

This plugin can realize http://soultable.yelog.org/#/zh-CN/component/basic/cache

CodePudding user response:

reference leaf falls on the second floor cabinet 1 response:
this plug-in can realize http://soultable.yelog.org/#/zh-CN/component/basic/cache
thanks for elder brother, this post is quite long, I was by modifying the source of the table module also indirect implementation, is recorded after each change the width of the set in the table, with save the width change of column width, but change the column width really bad, layuitable CSSrule control the width, in this record, convenient people see good solve next time

CodePudding user response:

Can you tell me where to modify the source code? I find the table. The js is compressed, don't change
  • Related