Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setcaption method does not work #460

Closed
ruijclaro opened this issue Nov 14, 2018 · 2 comments
Closed

Setcaption method does not work #460

ruijclaro opened this issue Nov 14, 2018 · 2 comments

Comments

@ruijclaro
Copy link

ruijclaro commented Nov 14, 2018

onSelectRow: function (ids) {
    $("#SiteGrid").jqGrid('setCaption', "Site Nbo #: " + ids);
}
@OlegKi
Copy link
Member

OlegKi commented Nov 15, 2018

Please, provide more detailed description of your problem always if you post an issue. Which version of free jqGrid you use? Is $("#SiteGrid") the same grid, which row will be selected or it's another grid? Is the grid $("#SiteGrid") already created at the time of selection? Do you use single-row-select mode or you use multiselect: true? Do you allow to deselect rows (in case of usage single-row-select mode) or you use singleSelectClickMode: "selectonly" option to prevent deselection? In any ways I don't find any problems with the usage of setCaption. In all tests, which I made setCaption worked correctly.

It's good if you always provide the demo, which reproduces the problem. If you post short issue with a few information, then you still my time for analyzing the problem. I created the demo https://jsfiddle.net/OlegKi/gup8vq7m/ to analyse the problem and I can't see any problems with setCaption.

@OlegKi
Copy link
Member

OlegKi commented Feb 10, 2019

I didn't get any feedback on my last comment since a long time. I'm closing the issue.

@OlegKi OlegKi closed this as completed Feb 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants