I have a zk Label that has Value:-1,2,3,4,21,211,4321,656,1233,678,342 and due to this it does not wrap well so i tried
detailval.setStyle("word-wrap:break-word;");
which breaks it fine but i need to break it on a comma i.e. my text gets wrapped like this.
1,2,3,4,21,211,4321,656,1233,67
8,342
instead of
1,2,3,4,21,211,4321,656,1233,
678,342
Is there a way i can specify that the label gets wrapped only on one specific character.Thanks