The column width of the EasyUI DataGrid header is different from the width of the data column, so it

Updated on technology 2024-08-07
9 answers
  1. Anonymous users2024-02-15

    Search in Files"[\.s]"keyword,After searching, you will find that this is actually a regular expression of the replace function,We just need to further replace the execution result of the replace function with hexadecimal,So,** becomes:

    -").replace(/./g,function($1));

    After the replace function, I replaced it again, the purpose is to convert it to hexadecimal, this modification method should be safe and non-toxic***, please feel free to use it. Then the problem was solved.

  2. Anonymous users2024-02-14

    Did you write the width attribute for these columns columns? Also, I'd like to ask you how you generated the dynamic columns, which I've been working on lately.

  3. Anonymous users2024-02-13

    This is obviously because the column does not correspond, which means that the column field in the returned data is inconsistent with the column field in JS, or there is no column in the returned data at all, and this column is specified in JS.

  4. Anonymous users2024-02-12

    Dear, have you solved this problem?,I've also encountered it.,It's very troublesome.,And I heard it.,Before the onloadsuccess event is executed,The display is normal.,The onloadsuccess execution is changed at the end.,How did you solve it.。

  5. Anonymous users2024-02-11

    , so that the width of this column has been fixed, and its data width must be the same as the width of the header, how did you make them different? I'm a little curious.

  6. Anonymous users2024-02-10

    **Can't you set a percentage of width? Is the whole datagrid or the columns inside? The entire datagrid can be set as a percentage, and if you want to set a percentage for a column, you need to use a function to calculate the specific value, and you can't directly use the percentage.

    #datatable').datagrid(, fixwith() is a specific value calculated as a percentage and returns a specific length (for example, 100px).

  7. Anonymous users2024-02-09

    Yes. so easy.

    In the definition of the column, add a CSS slow circle attribute.

    nowrap="false"

    It turned out that I disturbed Lu's line break and couldn't find it. This one is mine.

  8. Anonymous users2024-02-08

    EasyUI DataGrid is a lot of divs nested, not assembled by the table of the page, so you can't set the percentage, but you can use a div to include it, and setting the percentage of the outer div can do what you want.

  9. Anonymous users2024-02-07

    Look for class styles in the generated html, look at rewriting class styles... Haven't seen it.

Related questions
23 answers2024-08-07

The electrical socket has a head, but it is only used on the circuit board or inside the appliance. Household circuits need two wires to form a loop, and it is easy to be dangerous with two single-pin plugs, and from a safety point of view, it is not allowed to use a one-pin plug outside the home appliance to connect to the 220V power supply at home.

18 answers2024-08-07

You can let the hairstylist blow it every time. The effect of blowing it out is better than taking care of it yourself. I just cut the hairstyle of "Witch Creek", I like it very much, and then I often blow it, and it always works well. >>>More

15 answers2024-08-07

The short head of the biceps brachii is positioned toward the front and medial aspect of the arm, while the long head is lateral and its Achilles tendon connects to the deltoid muscle of the shoulder. The triceps brachii begins with three heads: the long head originates from the inferior glenoid tuberosity of the scapula, the lateral and medial heads both arise from the dorsal surface of the humerus, and downward, and the three heads continue to a tendon and end in the olecranon of the ulna. >>>More

4 answers2024-08-07

Ingredients: All-purpose flour: 1000 grams.

500ml of warm water >>>More

17 answers2024-08-07

The woman's forehead is wide and narrow, and the results are of course very different >>>More