Author Topic: How to fix cell width in "width: flex" state?  (Read 2151 times)

kjvjung

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 33
    • View Profile
How to fix cell width in "width: flex" state?
« on: September 28, 2017, 06:36:51 am »
Hello.

I deliberately used "width: flex" as shown below.
I used "width: flex" for a special purpose.

http://php.speedmis.com/_mis/index.php?gubun=788&isMenuIn=Y

However, the width of the AddURL is too long. The current width is over 800px.
I studied with cls:"zxzx", but failed to shorten it.
It seems that cls should not be.

,{ title: "AddURL", dataType: "textbox", dataIndx: "AddURL",width:"100", cls:"zxzx", editable: false }


"width: flex" does not change,
"width: flex" flex, What is the width of AddURL actually 100px?

kjvjung

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 33
    • View Profile
Re: How to fix cell width in "width: flex" state?
« Reply #1 on: September 28, 2017, 06:48:38 am »
Sorry. Resolved.

Failed to do the following.

.zxzx {
   width:100px!important;
   overflow: hidden!important;
   text-overflow: ellipsis!important;
   white-space: nowrap!important;
}


By the way, it succeeded when we did the following.

.zxzx {
   max-width:100px!important;
}


Thank you.