ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: Punit on June 28, 2022, 02:52:02 pm
-
Dear Team,
Is there any way to change the excel sheet cell color?
-
this.Selection().style('background-color', "#ff0099" );
Example: https://paramquery.com/pro/demos/import-xlsx there is colopicker in the toolbar of this example which uses the same pqgrid API to change color.
-
Dear sir,
Is there any event for changing the color by the event? We want to change cell color while copying from the cell, not by the menu.
-
it would be the same code inside the copy event
copy: function(){
this.Selection().style('background-color', "#ff0099" );
}
-
this.Selection().style('background-color', "#ff0099" );
this code takes 5 to 7 seconds to change the cell color. This makes our functionality slow.
-
Please share a jsfiddle.
-
Dear sir,
We use the same code as you give the example URL. this is working fine in local but it takes too time when we publish this code in the production environment.
-
The code runs in browser and it has nothing to do with local or production environment.
BTW this example https://paramquery.com/pro/demos/import-xlsx is also running in production environment.