jQWidgets Forums
Forum Replies Created
-
Author
-
OK i solved it this way.. $(“#ResponsiveWindow”).jqxWindow({
width:”75%”,height: “75%”,maxWidth:”90%”,maxHeight:”90%”,resizable: false, theme: theme, isModal: true, autoOpen: false, });Is it legal?
Thanks
OK Thanks Peter Stoev..I changed my plan..i need to display a window ,that uses 100% width and height of my screen..how can i do that….i have seen width,maxWidth,height,maxHeight properties of jqxwindow..which property i need to set for using full width and height of my window??..i used width property but is it impossible to set window’s width to value greater than 800…
January 6, 2014 at 3:55 am in reply to: Server side paging with json string Server side paging with json string #47271Thanks Peter Stoev..It works
Ok Thank you Peter Stoev..I have fixed it..you people have done really great..
can you please tell me ,How can i set editor value after cell edit?
Thanks
Ok here is my example.I need to set edited cell with a different value.
$(“#itemIssueDetailsGrid”).jqxGrid({
width: 300,
height:369,
source: dataAdapter,
theme: theme,
editable: true,
selectionmode: ‘singlecell’,
columns: [
{ text: ‘Item Name’, dataField: ‘itemName’,minwidth: 185, width: 185, editable: false},{ text: ‘Current Issue’, datafield: ‘currentIssue’, width: 130 ,editable:true, cellsformat:”d”}
]});
$(“#itemIssueDetailsGrid”).on(‘cellendedit’, function (event) {
var column = args.datafield;
var row = args.rowindex;
var newvalue = args.value;
var oldvalue = args.oldvalue;if(column==”currentIssue”){
var sum=newvalue+oldvalue;
$(“#itemIssueDetailsGrid”).jqxGrid(‘setcellvalue’, row , “currentIssue”, sum);//set edited cell with a different value,but this is not working}
});Great Thanks..It works for me..you people have done really great..
Thanks.
Hi Peter Stoev.
I added “displayfield” as my item name and “datafield” as my itemId but no use..iam trying with json..can you please give me an example with json?.
Thank you..
Now I got id from my drop down key value pair set.but it has a problem.After i perform a cell edit,the cell vaue becomes id(like 1,2..) insted of item name (item1,item2..)
{ text: 'Item Name',columntype: 'template', datafield: 'itemName', width: 130, minwidth: 130,sortable:false, createeditor: function (row, cellvalue, editor, cellText, width, height) { // construct the editor. editor.jqxDropDownList({ source: getEditorDataAdapter(itemName), displayMember: 'name', valueMember: 'id', width: width, height: height, theme: theme, }); } },
Can you help me to fix this?
Thanks.I have tried with json.check my first discussion.have i done anythig worg.My problem it does not return value member parameter.
can you please help me to do it with json instead of array?Is it not possible with json?.my grid is constructing from json.
Thanks
Thank you very much.You people have done really great.
September 25, 2013 at 9:56 am in reply to: Spreadsheet view with json data Spreadsheet view with json data #29548Thats ok ..Sorry it was my mistake..
September 25, 2013 at 9:31 am in reply to: Spreadsheet view with json data Spreadsheet view with json data #29546OK Thank you Peter Stoev..
How Can implement row doubleclick on my grid.
Here is the code so far i hava tried.
$(‘#servicesGrid’).on(‘rowdoubleclick’, function (event)
{
var args = event.args;
var row = args.rowindex;
alert(row);
});It does’t generate anythig.Have i done any mistake?
Thank you Dimitar..It works
-
AuthorPosts