Page 1 of 1

Change font on default filter in function_init hook

Posted: 2017-06-16 12:15
by alexbromo
Hi,

I applied a default filter on table editing the function_init hook (as described in the article https://bigprof.com/appgini/tips-and-tu ... ult-filter), below the code:

Code: Select all

function Software_init(&$options, $memberInfo, &$args){
		addFilter(1, 'and', 3, 'isEmpty');
		return TRUE;
the function runs correctly, but the table's grid display the rows with a different font size ( "Helvetica 12" instead "Helvetica 9")

The record row without the default filter:

Image

The record row with the default filter:

Image

Is there a fix for that issue ?

ALex.

Re: Change font on default filter in function_init hook

Posted: 2017-06-19 11:10
by alexbromo
No idea why after inserted a default filter in the table "init" hook the grid is rendered with a different font size ?

:roll:

ALex.

Re: Change font on default filter in function_init hook

Posted: 2017-06-20 12:43
by alexbromo
I opened a ticket at the Appgini's support team.

ALex.

Re: Change font on default filter in function_init hook

Posted: 2017-06-21 08:15
by alexbromo
Wow, really sparkling forum !

:lol:

ALex.

Re: Change font on default filter in function_init hook

Posted: 2017-06-21 08:26
by G Belgrado
uso la stessa funzione
ma non mi modifica il font-size

Re: Change font on default filter in function_init hook

Posted: 2017-07-12 13:26
by facos79
Stesso problema, qualcuno ha trovato una soluzione ?