OK if someone have the same situation like me here is the solution:
– I made function for grid initialization:
function constructGrid(){
grid.custom.js is loaded after jquery.jqGrid.min.js (I've try before and after and still the same
)
It was my mistake by using GridUnload. This is the correct way:
jQuery(“#maygrid”).jqGrid('GridUnload');
But no matter that now the result in firebug is:
u.p is undefined
I just try something like this:
GridUnload(jQuery(“#maygrid”));
for(var i = 0; i <= data.length; i++)
Hi, I am using afterInsertRow event to change colors depending from column value. You can check documentation for this event and see if this will work for you.
I'm not sure i get you right but here it is what I am using:
$(“#jqg_Bvb_Grid_Deploy_JqGrid”).jqGrid('navButtonAdd',”#jqg_pager_Bvb_Grid_Deploy_JqGrid”,{
🙂 I found solution:
var s = jQuery(“#jqg_Bvb_Grid_Deploy_JqGrid”).jqGrid('getGridParam','selarrrow');
for(var i = 0; i < s.length; i++){
You was totally right. When i construct normal grid, without using this application it works like a charm. So i just want to say, thank you again and i'll take my questions
If someone else is using this php application related to jqGrid plugin, and have my problem, here is the solution (it is more easy than i was thinking):
$grid->updateColumn('text', array('escape' => false));
cheers 🙂
Maybe i did not desciribe problem well. The whole thing i want is if i have
text
text
to see this two paragraphs like this:
text
text
Yes, i have read about that option, but it is not working in my case. If autoencode: false -> i see
text
, if autoencode: true -> <p>text</p>
I found that the value in column is exact the same as value in db. How i read it in one of posts it is: what you have is what you put. But i dont want to have html tags in value (how to explain on none developer what is
or
) 🙂
OK, if someone else have this problem too, here is the solution. As you see above in my previous post i was using this style to make instance:
$grid = Bvb_Grid::factory('Bvb_Grid_Deploy_JqGrid', $this->_config, 'abuses');
and here is the right way, and it works now:
$grid = new Bvb_Grid_Deploy_JqGrid($this->_config);
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top