set the values in Listgrid (smartGWT)

前端 未结 1 1486
温柔的废话
温柔的废话 2021-01-26 07:47

I am trying to use smart Gwt, Listgrid.

I am using both com.google.gwt.user.client.ui and smart gwt. I have value in a ListGridRecords[] records.

<
1条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-26 08:22

    I would suggest not mixed GWT UI and SmartGWT. Try using only SmartGWT and see if the problem goes away.

    You could starting by replacing HorizontalLayout (wich I suppose is GWT) by HLayout (which is SmartGWT).

    Quote from : http://forums.smartclient.com/showthread.php?t=8159

    Smart GWT has interoperability support that allows a Smart GWT widget to be added to a GWT container and allows a GWT widget to be added to a Smart GWT container, and it's appropriate to use this for:

    • incremental migration to Smart GWT, such as introducing singular, sophisticated Smart GWT components like the Calendar or CubeGrid to an existing GWT application

    • using sophisticated third-party GWT widgets within Smart GWT, where Smart GWT doesn't have corresponding built-in functionality

    However it does not make sense to freely intermix Smart GWT and GWT (or other) components, that is, for example, you should not place GWT widgets within a Smart GWT container that is in turn within a GWT container. In general, don't intermix widgets unless the need for a feature forces you to.

    The reason for this is that there are limits to the maximum degree that two Ajax widget kits (including GWT) can interoperate - there are no standards that allow interoperability in the areas of management of tab order, zIndex management, pixel-perfect layout, section 508 accessibility and multi-level modality.

    Note that "bugs" reported when intermixing GWT and Smart GWT inappropriately (that is, in contradiction to these guidelines) are generally going to be marked WONTFIX, although we will revisit this in the future if core GWT begins to support APIs that would allow better interoperability.

    0 讨论(0)
提交回复
热议问题