new column owner
This commit is contained in:
parent
1adbfd973a
commit
38212fa196
Binary file not shown.
@ -757,7 +757,40 @@
|
|||||||
</tableCellView>
|
</tableCellView>
|
||||||
</prototypeCellViews>
|
</prototypeCellViews>
|
||||||
</tableColumn>
|
</tableColumn>
|
||||||
<tableColumn width="574" minWidth="40" maxWidth="1000" id="I6P-hp-NkB">
|
<tableColumn identifier="" width="64" minWidth="10" maxWidth="3.4028234663852886e+38" id="x7R-x9-pKY">
|
||||||
|
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left" title="Bearbeiter">
|
||||||
|
<font key="font" metaFont="smallSystem"/>
|
||||||
|
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
|
||||||
|
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
|
||||||
|
</tableHeaderCell>
|
||||||
|
<textFieldCell key="dataCell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" alignment="left" title="Text Cell" id="b4O-sl-S01">
|
||||||
|
<font key="font" metaFont="system"/>
|
||||||
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||||
|
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||||
|
</textFieldCell>
|
||||||
|
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
|
||||||
|
<prototypeCellViews>
|
||||||
|
<tableCellView identifier="OTRSTicketOwner" id="o7U-fI-1MY">
|
||||||
|
<rect key="frame" x="120" y="1" width="64" height="17"/>
|
||||||
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||||
|
<subviews>
|
||||||
|
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="HV9-Un-Dyf">
|
||||||
|
<rect key="frame" x="0.0" y="0.0" width="64" height="17"/>
|
||||||
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
|
||||||
|
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" title="Table View Cell" id="K0d-bV-TTT">
|
||||||
|
<font key="font" metaFont="system"/>
|
||||||
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||||
|
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||||
|
</textFieldCell>
|
||||||
|
</textField>
|
||||||
|
</subviews>
|
||||||
|
<connections>
|
||||||
|
<outlet property="textField" destination="HV9-Un-Dyf" id="MtP-9f-iCO"/>
|
||||||
|
</connections>
|
||||||
|
</tableCellView>
|
||||||
|
</prototypeCellViews>
|
||||||
|
</tableColumn>
|
||||||
|
<tableColumn width="505" minWidth="40" maxWidth="1000" id="I6P-hp-NkB">
|
||||||
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" title="Details">
|
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" title="Details">
|
||||||
<font key="font" metaFont="smallSystem"/>
|
<font key="font" metaFont="smallSystem"/>
|
||||||
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
|
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
|
||||||
@ -771,11 +804,11 @@
|
|||||||
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
|
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
|
||||||
<prototypeCellViews>
|
<prototypeCellViews>
|
||||||
<tableCellView identifier="OTRSTicketDetails" id="52t-AD-QAD">
|
<tableCellView identifier="OTRSTicketDetails" id="52t-AD-QAD">
|
||||||
<rect key="frame" x="120" y="1" width="574" height="17"/>
|
<rect key="frame" x="187" y="1" width="505" height="17"/>
|
||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="3SI-Bc-aJ1">
|
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="3SI-Bc-aJ1">
|
||||||
<rect key="frame" x="0.0" y="0.0" width="574" height="17"/>
|
<rect key="frame" x="0.0" y="0.0" width="505" height="17"/>
|
||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
|
||||||
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" title="Table View Cell" id="yup-lF-FZ8">
|
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" title="Table View Cell" id="yup-lF-FZ8">
|
||||||
<font key="font" metaFont="system"/>
|
<font key="font" metaFont="system"/>
|
||||||
@ -795,7 +828,7 @@
|
|||||||
</subviews>
|
</subviews>
|
||||||
</clipView>
|
</clipView>
|
||||||
<scroller key="horizontalScroller" hidden="YES" verticalHuggingPriority="750" horizontal="YES" id="yAG-0l-MrF">
|
<scroller key="horizontalScroller" hidden="YES" verticalHuggingPriority="750" horizontal="YES" id="yAG-0l-MrF">
|
||||||
<rect key="frame" x="1" y="-16" width="0.0" height="16"/>
|
<rect key="frame" x="1" y="400" width="696" height="16"/>
|
||||||
<autoresizingMask key="autoresizingMask"/>
|
<autoresizingMask key="autoresizingMask"/>
|
||||||
</scroller>
|
</scroller>
|
||||||
<scroller key="verticalScroller" hidden="YES" verticalHuggingPriority="750" horizontal="NO" id="0Mc-1B-cqp">
|
<scroller key="verticalScroller" hidden="YES" verticalHuggingPriority="750" horizontal="NO" id="0Mc-1B-cqp">
|
||||||
|
|||||||
@ -12,6 +12,7 @@ extension ViewController: NSTableViewDataSource, NSTableViewDelegate {
|
|||||||
|
|
||||||
fileprivate enum CellIdentifiers {
|
fileprivate enum CellIdentifiers {
|
||||||
static let OTRSTicketNumber = "OTRSTicketNumber"
|
static let OTRSTicketNumber = "OTRSTicketNumber"
|
||||||
|
static let OTRSTicketOwner = "OTRSTicketOwner"
|
||||||
static let OTRSTicketDetails = "OTRSTicketDetails"
|
static let OTRSTicketDetails = "OTRSTicketDetails"
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -34,6 +35,10 @@ extension ViewController: NSTableViewDataSource, NSTableViewDelegate {
|
|||||||
image = nil
|
image = nil
|
||||||
text = item.ticketNumber
|
text = item.ticketNumber
|
||||||
} else if tableColumn == self.ticketTableView.tableColumns[1] {
|
} else if tableColumn == self.ticketTableView.tableColumns[1] {
|
||||||
|
cellIdentifier = CellIdentifiers.OTRSTicketDetails
|
||||||
|
image = nil
|
||||||
|
text = item.owner
|
||||||
|
} else if tableColumn == self.ticketTableView.tableColumns[2] {
|
||||||
cellIdentifier = CellIdentifiers.OTRSTicketDetails
|
cellIdentifier = CellIdentifiers.OTRSTicketDetails
|
||||||
image = nil
|
image = nil
|
||||||
text = item.title
|
text = item.title
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user