Hello,
We have checked the demo and yes, it has a build problem.
We have fixed the problem and updated the download section.
Could you please re download the demo from our site and confirm that it
is working as expected?
Thank you
Kind Regards,
Hello,
I have copy/paste your code and it is working fine.
Do you use a licensed version of 5.1 or you use the trail/limited demo?
Kind Regards,
Hello,
Any response on this problem?
Kind Regards,
Hello,
This post is for the record – we have found and fixed the problem.
Kind Regards,
Hello,
Currently there is no thread about this, but I think this one is a good start.
Kind Regards,
Hello,
I do not think that this is a bug. It is a way the method work – it only refresh the children.
Creating the method we suppose that there is nothing to refresh on leaf, I think it is better to apply reload node one element up.
I will see if we can apply refreshing on the parent node and not only on children.
Best Regards,
Hello,
I’m not sure that I understand right the problem.
So, to be clear you want to show values from the nested table in grid and not only in the edit form.
In case of multiselect you should return from server a comma delimited string like one, two,…. and display it in grid
So the solution is to prepare the json response from server to contain this string.
Best Regards,
Hello,
This is not good.
It will be great if you can prepare a simple demo.
Just to be a sure that there is no mistake with the version from github you can download the version that we use from here
Please do not forget to clear the browser cache after replacing the new files.
As for the clearSearch – we can not reproduce the problem again.
It is working for us as expected. To remember that this setting is in searchoptions –
|
1 2 3 4 5 |
... colModel : [ {name: "some", ...,searchoptions : { clearSearch: false,... },...}, ... |
Thank you for your effort.
Best Regards
Hello,
Thank you for you for posting this problem.
I think that with this information is not possible to resolve the problem.
Can you please send us a test data so that we can look at this?
Thank you.
Best Regards,
Hello,
Can you please download the latest build from GitHub and try?
Seems we have fixed the the problem
I will look at the second problem later this day.
Thank you very much.
Best Regards
Hello,
If you want to preserve the sortname and order you will need to specify them before triggering – with parameters sortname sortorder. You will need of course to store them before this
|
1 2 3 4 5 6 |
jQuery('#grid').jqGrid('setGridParam',{ postData: obj['postdata'], search : true, sortname : 'mystoredname', sortorder: 'mystoredorder' }).trigger("reloadGrid"); |
If you want to preserve the width, I think you will need to put the stored colModel before creating the grid. After the grid is created setting a new colModel will not re size the columns.
Another option is to use resizeColumn method, but it will go too complicated.
As for the second problem with save/load state this is strange.
Do you have definition of beforeProcessing event?
Can you please send us grid definition which causes the problem?
Note that save/load state is working locally (using Storage) – this mean that the user stored the state on its computer will not restore it on another.
Best Regards,
Hello,
Thank you very much. We will look at the both problems.
Best Regards,
Hello,
You can’t have your cake and eat it is an old English proverb.
Thank you very much for the information.
Initially I don’t have understand this, because English is not my native language.
In my native language we have similar proverb, but it isn’t the place to discuss this here.
Good news: we are able to reproduce the problem with sorting after searching using our approach in our jqGrid PHP component. I will try to investigate the problem during the weekends. In the meantime if you find something, please let us know – it will help us to fix this quicker.
Have a nice weekend.
Best Regards,
Hello,
Currently the only way to realize this is to use custom edit type.
In this custom edit type you will need to create the two selects using the custom_element property and get and set the value using the custom_value property.
See here for more information (scroll to the end). You will see a example how to use the custom element.
I’m not sure that cellEdit is a good option for this. Maybe you can try with inline or form edit options.
Best Regards,
Hello,
Thank you @Mymsman, but I think that @wwhardy speak about this example
The example is in PHP using our jqGrid PHP component – the idea can be easy seen – use of attr and formatter colModel properties to make colspan and hide the data of the other cell.
Please let us know if you have difficulties to realize this – we will make a similar example in pure JavaScript.
Best Regards,
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top