can u please send a sample code which uses splitAt() and smartrendering functionality and addrow() function.I used these functions in my code.In my code when adding new row it was inserted in the bottom.But 1st column for that row is not visible.I used splitAt(1) functionaliy and smartrendering functionality.I cant understand why it come like that.Below is my code
mygrid.addRow(id,newrow,-1);
mygrid.selectRowById(id);
mygrid.showRow(id);
var restId = mygrid.cells(id,0);
restId.setValue(id);
I enable smartrendering before grid intailisation and splitAt functionality after intialisation and before data loading.please provide me the solution
Possible fix send by email, please try to update existing js files with provided ones.
hi
please find the attached code.In this i used smart rendering and splitAt functionlaity.while adding a new row it is not properly aligned.i sent the sample code in the attachment.Please provide me solution.if i disable smartrendering it works fine.
1224240326.zip (114 KB)
The fix was sent to email.
Hi
I used the js files which you sent htrough mail.But Still the problem is coming.Please provide me solution so that i can use smart rendering and splitAt functionality both.Those two functions are important to my code.
Problem can’t be reconstructed anymore.
Is problems occurs with the same code as was used in sample, or some specific init need to be added?
In which browser problem occurs for you?
hi
Iam using below code for spliting.But if i call splitAt mode after init() method browser turned into nonresponsive mode.
mygrid.enableSmartRendering(true)
mygrid.setAwaitedRowHeight(25);
mygrid.setEditable(mygrid.isEditable);
mygrid.init();
mygrid.splitAt(1);
so i called splitAt function in OnXLS event.The code is below.
mygrid.attachEvent(“onXLS”,function(){
cursorWait();
pageLoad();
document.getElementById(‘message’).style.display=‘block’;
mygrid.splitAt(1);
});
Is it the reason for above issue i mean smartrendering and splitAt function not working combindely.But if i call splitAt method after init method cursor is not going into onXLE event.