that's not that easy. I'm on it.Dirk Geppert wrote:Thank you Peter. Would it be possible to extend the ListiconGadget() that you can sort with it?
Greetings ... Peter
that's not that easy. I'm on it.Dirk Geppert wrote:Thank you Peter. Would it be possible to extend the ListiconGadget() that you can sort with it?
Code: Select all
SetHeaderStyle(Gadget,BackColor.s,TextColor.s,Height)
BackColor and TextColor are not that difficult. But setting the text height will be a challenge...the.weavster wrote:Sorry, Peter, but I have another request :Code: Select all
SetHeaderStyle(Gadget,BackColor.s,TextColor.s,Height)
I'd happily settle for thatPeter wrote:BackColor and TextColor are not that difficult.
okthe.weavster wrote:I'd happily settle for that
Code: Select all
Declare SetColumnHeaderColor(Gadget, Column, BackColor.s, FrontColor.s)
Code: Select all
Procedure SetColumnHeaderColor(Gadget, Column, BackColor.s, FrontColor.s)
GetGrid
! var id = "ligchc_" + grid.id + "_" + v_column;
! $("#" + id).remove();
! $("<style id='" + id + "'>" + "#" + grid.id + " .dgrid-column-" + v_column + "[role='columnheader'] { color: " + v_frontcolor + "; background-color: " + v_backcolor + "; }</style>").appendTo("head");
EndProcedure
Code: Select all
ListIconGadgetEx::SetColumnHeaderColor(#yourListIconGadget, 0, "red", "yellow") ; setting the color for first columnheader