mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-23 11:17:15 +08:00
update
This commit is contained in:
parent
c0f15060af
commit
f2b67af58a
@ -67,6 +67,7 @@ Rectangle {
|
||||
Component{
|
||||
id:com_edit
|
||||
FluTextBox{
|
||||
id:text_box
|
||||
text: display
|
||||
readOnly: true === columnSource[column].readOnly
|
||||
Component.onCompleted: {
|
||||
@ -75,7 +76,7 @@ Rectangle {
|
||||
}
|
||||
onCommit: {
|
||||
if(!readOnly){
|
||||
display = text
|
||||
display = text_box.text
|
||||
}
|
||||
tableView.closeEditor()
|
||||
}
|
||||
|
@ -69,6 +69,7 @@ Rectangle {
|
||||
Component{
|
||||
id:com_edit
|
||||
FluTextBox{
|
||||
id:text_box
|
||||
text: display
|
||||
readOnly: true === columnSource[column].readOnly
|
||||
Component.onCompleted: {
|
||||
@ -77,7 +78,7 @@ Rectangle {
|
||||
}
|
||||
onCommit: {
|
||||
if(!readOnly){
|
||||
display = text
|
||||
display = text_box.text
|
||||
}
|
||||
tableView.closeEditor()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user