Hi,
For me all work fine in IE. Instead of that I will look again into the code.
You can look at final prevew of jqGrid here:
http://www.trirand.com/gridpreview/jqgrid.html
Regards
Hi,
Try to put in first column in colNames some data – something like this:
colNames:,
instead of
colNames:,
To remove rows manually:
var = id_s = jQuery("#table_id").getDataIDs();
for(var i = 0; i < = id_s.length; i++)
jQuery("#table_id").delRowData(id_s);
}
You can not do this way, but you can do this this way:
1. loadComplete : function () { a },...
function a () {alert(1)}
or
2. loadComplete: a,....
var a = function() {alert(1)}
Nima,
Could you please tell me what does not work correctly?
Regards
Tony
trollskog,
This behavior can be controlled with CSS.
Access the style sheet and find: table.scroll tbody td item.
The four parameters with which you can experiment are
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
height : auto;
Note that text-overflow is property only for IE.
Regards
Tony
trollskog,
The behavior should be changed at server side, not at client side.
In server side code you maybe may use LIKE %string% and not LIKE string%. Example
SELECT fld1, fld2 FROM table WHERE fld1 LIKE ‘hou%’ will give you all rows that begin with hou. An the other side:
SELECT fld1, fld2 FROM table WHERE fld1 LIKE ‘%hou%’ will give you all rows that contain hou.
Regards
Tony
jmdavid,
Thank you for pointing me of plugin repository.
I check the new plugin site – the jqGrid is still available, but not visible – I do not know why.
About the release. The most tasks are done, but they need a serious testing. The hardest task is documentation. Hope to finish all to end of nex week. I do not known, but maybe is better to publish the new features for testing in this site.
regards
Tony
jmdavid,
I’m working hard in the moment of jqGrid.
The changes are:
1. Refactor the grid – the grid have now modular structure. The reason for this is that the code is going bigger and is out of control. We would have – basic grid and then module subgrid, module inline editing and the new module navigator – add,edit,delete,search grid.
2. Better documentation – the missing part
3. Of course correcting a couple of bugs.
Regards
Tony
dedi,
Currently is not possible to convert Querystrings to flat keyword. The ajax requests are send via the pair name value.
As I see you use php and maybe Apache. With Apache you can use mod_rewrite to do that in .htaccess file.
Another possible solution is to use global $.ajaxSetup and beforeSend callback. In this callback you can grab the url and convert it to flat keywords. For more details see jQuery documentation
Regards
Tony
dian,
About second request:
Currently you can do that – just in jqGrid options type: mtype:”POST” and all ajax requests will be via POST. The default value of this option is GET.
If I understand right you want to put additional attributes in the TD of each column. Currently not possible. I will think about this in next release. This can be for TR too. Since the parameters in colModel going to be grow we must make another decision about this.
Regards
Tony
Hi,
You can do that. Just in colModel set the flowing:
colModel = [{name:"somename"....editable:true,editoptions{readonly:true}},
...
]
Enjoy
Hi,
Please check the new feature grid as subgrid in the example page in section Advanced. Note that you can download the new feature only from this site – Download-> Last Revision of jqGrid
Tony
I do not have idea, but could you please try to pass to the ajax url a additional parameter new Date().getTime() instead of cache: false
Regards
Tony
Hi,
Could you please try with complete – i.e. –
…
jQuery.ajax({ url: ‘deleteRemedialAction.php?&raid=’+lastsel2, cache: false,
complete: function(html){
j(‘#remedialActionTable’).trigger(“reloadGrid”);
jQuery(“div.statusbar”).append(html);
…
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top