CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Descriptiontp Wrap?

by Aggie85 » 06 Jul 2015 03:09

Howdy!

I would like the Description property to wrap as necessary.

How do I set the Description field to use

style="white-space:normal;"

Thanks in advance!

Aggie85
Aggie85
 
Posts: 273
Joined: 15 May 2013 02:24

by Alexander Bulei » 06 Jul 2015 11:20

Hi Aggie85,

Its only possible by overriding css class.

You can use the your custom style file or add the new extra header in form.

Example:

delphi code
IWCGJQMListView1.Css:= 'my-custom-list'


Form.ExtraHeader:

Code: Select all
<style>

.my-custom-list .ui-li-desc {
  white-space: normal !important;
}

</style>


Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by Aggie85 » 06 Jul 2015 19:46

Alexander!

Thank you very much! That was literally very SIMPLE :mrgreen: :mrgreen: !!

Best Regards,

Aggie85
Aggie85
 
Posts: 273
Joined: 15 May 2013 02:24


Return to JQMListView

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.