EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: Ellipsis on January 09, 2013, 02:14:57 AM



Title: add row to detailview: no content in subgrid ?
Post by: Ellipsis on January 09, 2013, 02:14:57 AM
I've an example running:

When you add a row and then expand that row, there is no content.

http://jsfiddle.net/reno1979/g3sVm/

What am I doing wrong in this example?

[link updated, forget underscore.js as source]


Title: Re: add row to detailview: no content in subgrid ?
Post by: stworthy on January 09, 2013, 08:06:30 PM
There are some mistakes with your code. Please refer to the updated example http://jsfiddle.net/g3sVm/5/.


Title: Re: add row to detailview: no content in subgrid ?
Post by: Ellipsis on January 10, 2013, 01:12:01 AM
 ::) parseInt .... ok

new link: http://jsfiddle.net/reno1979/g3sVm/


Title: Re: add row to detailview: no content in subgrid ?
Post by: Ellipsis on January 11, 2013, 03:19:01 AM
Updated:

More rows added.
- 'Bug' The IE 'bug' of max. 31 stylesheets will show up when opening all subgrids (at least keep opening untill you reach a total of 31 stylesheets)

Question:
I would like to apply frozencolumns on the Mandatory and Active column, but this causes the underlying subgrid to shift to the right. (because of the placement in the right div).
When using the styler to a field the given width value in the styler return, is missing. I guess this is removed.
(update: I read there was a view fix : http://www.jeasyui.com/forum/index.php?topic=1091.0 ) The width style is applied, but then the width of the columnheader is still wrong...)
What should I do to set a fixed width for specific columns ?? (including the header)