Добрый день!
Нужно сделать так, чтобы dataGrid был строго фиксирован по ширине экрана.
В данный момент по какой то причине внизу появляется инструмент для скролла, этого быть не должно. В связи с этим при вхождении в редактор строки фокус улетает куда то далеко вправо.
Блок с DataGrid:
<groupBox id="linesBox" caption="msg://ru.sec2.documents.entity.document/Document.lines">
<buttonsPanel>
<button id="createButton" caption="msg://create" action="linesGrid.create"/>
<button id="editButton" action="linesGrid.edit"/>
<button id="removeButton" action="linesGrid.remove"/>
</buttonsPanel>
<dataGrid id="linesGrid" dataContainer="linesDc" height="400px" width="100%" editorEnabled="true">
<actions>
<action id="create" type="create"/>
<action id="edit" type="edit" trackSelection="true"/>
<action id="remove" type="remove" trackSelection="true"/>
</actions>
<columns>
<column id="name" collapsed="true" editable="false" property="name"/>
<column id="localizedName" editable="false" property="localizedName"/>
<column id="valueString" property="valueString"/>
<column id="type" editable="false" property="type"/>
<column id="valueLong" collapsed="true" property="valueLong"/>
<column id="valueDouble" collapsed="true" property="valueDouble"/>
<column id="valueDateTime" collapsed="true" property="valueDateTime"/>
<column id="valueBoolean" collapsed="true" property="valueBoolean"/>
<column id="valueUuid" collapsed="true" property="valueUuid"/>
<column id="valueByteArray" collapsed="true" property="valueByteArray"/>
<column id="enumIntValue" collapsed="true" property="enumIntValue"/>
<column id="enumStringValue" collapsed="true" property="enumStringValue"/>
<column id="referenceValueUuid" collapsed="true" property="referenceValue.entityId"/>
<column id="referenceValueString" collapsed="true" property="referenceValue.stringEntityId"/>
<column id="referenceValueInt" collapsed="true" property="referenceValue.intEntityId"/>
<column id="referenceValueLong" collapsed="true" property="referenceValue.longEntityId"/>
</columns>
</dataGrid>
</groupBox>
В чем может быть дело какое позиционирование нужно поставить, чтобы все колонки сжимались строго до размеров экрана?