Forum


18:18

29/08/2008

Hi All,
I'm using this great grid plugin, and I have gotten it to work great with clientside data and I'm not working on populating the grid with data from a server side SOLR->XSL->JSON call. it's returning the data correctly, however I'm getting that Warning Please select Row message and I can't seem to close it. Here's the html that is generated for it:
<div class="modalwin jqmWindow" id="alertmod" style="top: 140px; left: 513px; width: 200px; height: 50px; opacity: 1;"><div id="alerthd" class="modalhead" style="cursor: move;"><table width="100%"><tbody><tr><td class="modaltext">Warning!</td> <td align="right"><a class="jqmClose" href="javascript:void(0);"><img border="0" src="/kb/images/dar/grid//ico-close.gif"/></a></td></tr></tbody></table> </div><div class="loading"/><div class="modalcontent" id="alertcnt"><div>Please, select Row!</div></div></div>
Does anyone have any idea why this would be getting created and stuck(ie can't close it). The only code I added was for loadComplete where i set one of the columns to be a link and then I add a button to the form.:
var ids = jQuery("#resultList").getDataIDs();
jQuery.each(ids,function(){
var rowData = jQuery("#resultList").getRowData(this);
currTitle = rowData.title;
jQuery("#resultList").setRowData(this,{title:"<a href='/kb/dar/edit.jsp?subject="+this+"'>"+currTitle+"</a>"});
});
//add Add to DAR list button
$(".data_container").append($("<p></p>").html($("<input id='addToList' class='submit glow {from: \\"#111111\\", to: \\"#DDDDDD\\", className: \\"dark\\"}' type='submit' value='Add To DAR List'/>")));
},
Any help would be great, thanks!
Matt
Most Users Ever Online: 715
Currently Online:
73 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66