reduce the html code in webclient

For this specific example:
Any ideas to reduce the html code, by using more css ?

[attachment=0]Screen Shot 11-11-14 at 05.55 PM.JPG[/attachment]

viewtopic.php?f=13&t=18772#p103603

Hi Alessandro,

How are you creating these grids?

stefanoni:
For this specific example:
Any ideas to reduce the html code, by using more css ?

…use the Velocity plugin to insert the html for these complex elements, it’s massively faster, easier to edit /debug, uses standard css, has charts etc and has the added bonus if being really simple to enable print or excel download features. We have used it extensively both for display in apps as well as reporting.

HTH
Gordon

Thanks for your suggestions.
At the moment I’m nearly happy with the performance of the responded html-code, so it’s
not a question of a basic discussion “what is the best way to realize complex surfaces”.

What I’m intressted at the moment is, how to reduce the html-code by less set some properties,
but use more CSS, in this specific Statement (this code creates one of the day-squares):

			var JSMethTagBut = JSfrm.getMethod('onActTagBut') // a One-line method, witch calls the realy big one

			for ( iDay = 1; iDay <= nMaxDayOfMonth; iDay++) {
				o = JSfrm.newButton(
						'?',
						(nRefPosTagX + ( (iTag-1) * nSchubTagX)),
						nAktY, 15, 20,
						JSMethTagBut 
						)

				o.styleClass = 'gigDooTagMust'
				o.name = 'tp' + utils.stringRight('0' + iDay, 2) + JsFsTerm.id 
				o.formIndex = 1
				o.rolloverCursor = SM_CURSOR.HAND_CURSOR
				o.background = globals.gCo['00']
				o['text'] = ''
				o['toolTipText'] = ''
			}

example how it look like:
http://212.112.253.21:8080/servoy-webclient/ss/s/GigDoodle/m/myDeepLink/a/mao8mt81pdcouppj6a0q6bbis6

thanke you for your time !