Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagehtml/xml
<DataView id="oracle-view-data" icon="Data" label="Data" viewer="table-data"/>
   <Input name="disableEdit" value="false"/>
</DataView>

And here is a screenshot of the Data tab based on the previous definition.

...

The default strategy for the table-data viewer is to automatically check whether the data can be edited or not. If editing is allowed a few related buttons will appear in the toolbar. However, sometimes you may want to disable editing completely for the table-data viewer. Do this with the following input element:

Code Block
languagehtml/xml
<DataView ...>
   <Input name="editDisabled" value="true"/>
</DataView>
Trim cell values

Data is presented as-is as retrieved from the database. Some databases returns whitespace padded data which may not be desired. Use the following input element to trim (remove leading and trailing whitespaces) the data in every cell:

Code Block
languagehtml/xml
<DataView ...>
   <Input name="trimCellValues" value="true"/>
</DataView>
Viewer - table-refs

The table-refs viewer shows the references graph for the current object (this must be an object supporting referential integrity constraints, such as a Table),

...