bildwelt
E2E FORUM
E2E Bridge E2E Commerce

How to get a smaller UI table

E2E Forum User Interfaces How to get a smaller UI table

This topic contains 0 replies, has 1 voice, and was last updated by  Andi 3 years ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #1792

    Andi
    Moderator

    If you have a table with many columns, it not possible to draw the table smaller than minimum width given by Magic Draw 17. But if you run the UI in the browser, the table might be still to wide.

    To get it smaller table, add the following script in the drawCallback operation on the <<UITableBinding>> usage dependency of your table:

     // Set table width = 1500 pixels
     $("#ID::yourTablename" +"_wrapper").css({ width: "1500px"});

    Just replace ‘yourTablename’ with the name of your table of course ;).

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.