forked from mbk-lab/rui_orig
2
0
Fork 0

ListView bug fixing

This commit is contained in:
anoshenko 2021-11-22 15:20:53 +03:00
parent 8439b9fd06
commit b0e83cec00
1 changed files with 1 additions and 0 deletions

View File

@ -914,6 +914,7 @@ func (listView *listViewData) updateCheckboxItem(index int, checked bool) {
}
func (listView *listViewData) htmlProperties(self View, buffer *strings.Builder) {
listView.viewData.htmlProperties(self, buffer)
buffer.WriteString(`onfocus="listViewFocusEvent(this, event)" onblur="listViewBlurEvent(this, event)"`)
buffer.WriteString(` onkeydown="listViewKeyDownEvent(this, event)" data-focusitemstyle="`)
buffer.WriteString(listView.currentStyle())