Home > Net >  How to modify the easy UI tree node background color or font color
How to modify the easy UI tree node background color or font color

Time:09-29

Don't go to CSS changes inside, because I only want to change the background color of the one or two nodes or font color

CodePudding user response:

It directly on the specified node with js style

CodePudding user response:

Advice on how to add ah I found the node node but not on

CodePudding user response:

reference 1st floor Chinajiyong response:
that directly on the specified node with js style pizza


Advice on how to add ah I found the node node but not on

CodePudding user response:

I can't, js add words add inline styles, in some other nodes, that set good will not disappear

CodePudding user response:

reference 4 floor NANA_is_a_fairy response:
I can't, js add words add inline styles, in some other node, the set up good also won't disappear

You look like you are NANA fan, ha, ha, ha

Answer to the chase, modify the easyui background, it is through the field attribute to set,
 {
Field: "PPPRD_QuantityActual", the title: "Planned QTY", width: "100"
//set style
, styler: function (the value, the row, the index) {return 'background - color: # FAD578; color:white; '}
//set the display mode
, the formatter: function (the value, the row, the index) {
Var inp1='& lt; Input type="text" name="EditPPPRD_Quantity" value="' + value +"/& gt; ';
Return inp1;
}
},

CodePudding user response:

reference 5 floor is nu month god reply:
Quote: refer to 4th floor NANA_is_a_fairy response:

I can't, js add words add inline styles, in some other node, the set up good also won't disappear

You look like you are NANA fan, ha, ha, ha

Answer to the chase, modify the easyui background, it is through the field attribute to set,
 {
Field: "PPPRD_QuantityActual", the title: "Planned QTY", width: "100"
//set style
, styler: function (the value, the row, the index) {return 'background - color: # FAD578; color:white; '}
//set the display mode
, the formatter: function (the value, the row, the index) {
Var inp1='& lt; Input type="text" name="EditPPPRD_Quantity" value="' + value +"/& gt; ';
Return inp1;
}
},
covering the original style can also be directly, write simple point,,

CodePudding user response:

reference 5 floor is nu month god reply:
Quote: refer to 4th floor NANA_is_a_fairy response:

I can't, js add words add inline styles, in some other node, the set up good also won't disappear

You look like you are NANA fan, ha, ha, ha

Answer to the chase, modify the easyui background, it is through the field attribute to set,
 {
Field: "PPPRD_QuantityActual", the title: "Planned QTY", width: "100"
//set style
, styler: function (the value, the row, the index) {return 'background - color: # FAD578; color:white; '}
//set the display mode
, the formatter: function (the value, the row, the index) {
Var inp1='& lt; Input type="text" name="EditPPPRD_Quantity" value="' + value +"/& gt; ';
Return inp1;
}
},
I am Nana??????
  • Related