Home › Forums › Guriddo jqGrid JS › Help › Seleting the checkbox based on XML value
Hi,
I have the following XML (which can be chaged)being used to popuilate jqGrid 4.4.1:
Can I assume this is not possible?
Hello,
Can I assume you have not read the docs?
Please look for using formatters in jqGrid.
Rgerads
Hi Tony,
I think that the user want to set multilelect chechbox based on from the data. One can't define currently
Hello Oleg,
Thank you for the explanation.
Just I have added onInitGrid event which raises only once before populating the data.
In this event a setColProperties can be used applied for the cb field like this
…jqGrid({
…
onInitGrid : function() {
Yes that should cover all of it.
Quick question, according to firebug (this) or the grid variable don't have a setColProperty() method associated with them.
I find introduction of onInitGrid callback very helpful, but not in you case aram535. What Tony wrote is not exact code. It should be interpreted something like onInitGrid: function() {
onInitGrid: function() {
@aram535 , sorry for mistake. It was may error.
The setColProperty does not exists. It should be setColProp instead – as Oleg write.
I'm sorry again, but I think Oleg is right. Will see what I can do.
Regards
Stay connected with us in your favorite flavor!
Copyright 2014 TriRand LtdAll Rights ReservedRSS