javaFX textarea - colums/rows -


the textarea-class in javafx should give me option add rows , colums, way tried didn't work:

    textarea ta = new textarea();     ta.setprefrowcount(100);     ta.setprefcolumncount(100); 

i'm searching colums/rows in microsoft excel, inclusive gridines.

.setgridlinesvisible(true);

doesn't work type.

any ideas?

for use case similiar excel you're looking tableview. every table cell can contain anything, window flexible.

if want grid lines on top of textarea, want keep standard textarea behavior, have combine textarea , tableview in stackpane. have clear table's background using css. however, matching row , column sizes text need additional code.

apologies english.


Comments

Popular posts from this blog

java - JavaFX 2 slider labelFormatter not being used -

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -