TableView: adjust number of visible rows

前端 未结 6 545
梦谈多话
梦谈多话 2020-11-29 06:30

I\'m using this table to display data in Table View:

import javafx.application.Application;
import javafx.beans.property.IntegerProperty;
import javafx.beans         


        
6条回答
  •  攒了一身酷
    2020-11-29 07:25

    Just change background color of empty rows using css

    .table-row-cell:empty {
    -fx-background-color: white;
    -fx-border-color: white;
    } 
    

    and modify number of rows on the basis of combobox.

提交回复
热议问题