Hello,
Thanks. Fixed
Tony
Hello,
Thanks. Fixed.
Tony
Hello,
First of all thank you for the test case. It is bug
The true fix is:
var parentZ = $(insertSelector).parents(“*[role=dialog]”).filter(':first').css(“z-index”);
if(parentZ) {
Suppose you use form editing ( the difference from inline edit is the name of the id of the input field)
{
name:'selectOption',
index:'selectOption',
width:90,
sortable:false,
editable:true,
edittype:'select',
formatter: 'select',
editoptions:{
Hello,
How is your object constructed.
The below is not tested, but maybe if you define the index property in appropriate way it should work.
Suppose you object is myobject : { FirstName: …, }, then the index in colModel can look like this
colModel :[
{ … index: myobject.FirstName … }
…
]
Regards
Hello,
I do not understand – loadComplete is alway executed after the grid is created.
Regards
Hello,
You canb call setSelection AFTER reload the grid and not before.
Also a good choice is to call setSelection with setTimeout function to give a grid a time to refresh its data.
Regards
Hello,
Another possible solution is to analyze the sort.
This can be something like this.
The user click a column to sort.
The user click another column to sort – if this column is with higher index (from colModel – NOT index property) the sort is added if not the sort is reset automatically and the begin to sort from this index.
I hope you got the idea.
Kind Regads
Hello,
Yes this is a possible solution.
Another solution is after you update the subgrid to get information from serve for the sum and set the new sum values using setRowData method.
Regards
Hello,
Did you have try to set higher z-index of the dialog?
It seems you use grid in another modal dialog.
Regards
Hello,
Good beginning.
How we can destroy the sort in order to begin new one?
Regards
Hello,
IMHO the custom func is not appropriate choice.
My first thing is that you can use some masked input plugin to format the field depending on the choice of selectOption. –
that is – you should bind a onchange event to this field and call the maksed input field plugin with different parameters to format the field.
You can use dataInit event to bind onchange event.
Regards
Hello,
You can try to add a searchoptions value
http://www.trirand.com/jqgridwiki/doku.php?id=wiki:search_config&s=searchoptions#colmodel_options
Regards
Oleg,
Thanks.
Oleg
Thanks. Fixed
Tony
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top