Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Datasoruce.ds.xml with custom tag and blockOnFieldBusy exception.

    Hi Isomorphic,

    We're using SmartGWT 4.1p (2014-07-08 nightly build).

    Sometime ago we have introduced a new trhead about the JavaScript exception "Object doesn't support property or method 'blockOnFieldBusy'" (http://forums.smartclient.com/showthread.php?t=30935)

    The fact is that we have modified the ds.xml with some specials custom tags that we use to allow to configure the rendering of ListGrid.

    Code:
     <field name="CREATED" type="creatorTimestamp" title="$operator.listview.created" hidden="false">
            	<grid canBeDisplay="true"/>
            </field>
    <field name="BUNIT_NAME" type="text" includeFrom="businessUnit.NAME" title="$operator.listview.businessUnit">
        		<grid width="150" display="true" order="1"/>
        	</field>
    Is there a way to do this without having this javascript error.

    Thanks in advance.

    Julien

    #2
    Your custom property cannot be named after existing properties of FormItem, ListGrid, or anything else that a DataSourceField configures (see ListGrid docs for where item.grid comes from).

    We would suggest either "gridConfiguration" instead of just grid, or a prefix based on your company name.

    Comment

    Working...
    X