jQWidgets Forums
Forum Replies Created
-
Author
-
Peter
I am not sure how you got the indication that I am re-initializing the full grid after an edit. The code I posted is my initialization code and all I do is mark the column as editable. After that it is all in the framework when I click on the cell to edit it. I am not re-initializing anything and I am not handling any of the edits. All I do is mark the column as editable. Also the programmatic way of setting the value is not valid because we dont do that. we use the editable feature of the grid by simply marking the column as editable,Only thing I can say is my grid has lot of columns (~40). At any given time the user is viewing about 15 columsn and do I do that by setting the showcolumn/hidecolumn property.
July 25, 2013 at 5:44 pm in reply to: looks different on different versions of IE looks different on different versions of IE #25742Peter,
The problem cant be because of the css files or the image defined in the css. it works fine on different version , firefox. It doesnt work on certain subversion of the browser which I mentioned before
when is the pager function on the source called?
This is how I making the column editable.
var columnTypeArray = [
{ text: ‘AA’, datafield: ‘AA’, width:75 , cellsalign: ‘left’, editable:true, createeditor:tagline_createeditor , cellbeginedit: tagline_cellbeginedit, cellsrenderer: editable_cellsrenderer }
]$(“#summaryGrid”).jqxGrid(
{
width: ‘100%’,
source: dataAdapter,
theme: theme,
pageable: true,
virtualmode: true,
rendergridrows: function () {
return dataAdapter.records;
},
pagesizeoptions:[’10’,’20’,’40’,’60’],
autoheight: true,
sortable: true,
sorttogglestates: 1,
showsortcolumnbackground : false,
showpinnedcolumnbackground : false,
showsortmenuitems : false,
filterable : false,
altrows: true,
columnsheight:44,
rowsheight :23,
enabletooltips: true,
editable: true,
selectionmode: ‘singlecell’,
editmode: ‘click’,
columnsresize : true,
columns: columnTypeArray});
and the performance problem is not when I am initializing the grid. After the grid is loaded, the user clicks on a cell and modifies the value. After a new value is entered, it takes a while to update that cell.
Yes I make the column editable after grid initialization. After the grid is loaded, the user can edit values in cells. It is when editing the values in the cell by clicking on the cell and entering a new value, it takes a long time on IE.
Upgrading to 2.9.1 made is better but still a problem on IE. I am not doing the updates through method calls. It is done by making the column editable and using the functionality of the grid to edit the cell. so once cell value is changed at a time. so beginupdate and endupdate doesn’t help.
This doesnt help. I receive the event but the page changes to the next page. What I need is a way to be notified before the event happens.
This is what I need>1) The user can make several changes to values on the grid. I have a button which when clicked saves all the changes at once on the server.
2) If the user tries to navigate to the next page with out saving his changes, I want to show a warning window. If they say discard changes, I want to go the page they want to navigate to. If they say no, don’t go to the next page.
3) I was able to do it with sorting by implementing source.sort function.I have even bigger header where I want to wrap it into three lines. I want to move the text to the top so that I can show three rows with making header height too big. CHow can I do this.
-
AuthorPosts