Forum Replies Created
Specifically, when the grid has no data, there is the message “No data to display”. This is the message I would like to suppress. When there condition, we have an Ember component we would like to display in its place. I hope that give you enough detail.
Thanks for the reply.
So, I figured it out. No a form is not required. I applied the validator to the widget element that gets inserted into the grid cell. The validator is then invoked using the id of the target element.
But I do have one more question:
Is there a hook that allows me to display my own error element? We need to ensure for ADA purposes that the error popup is ADA compliant.
Thanks for the reply, I did look at this demo, but I was never able to get the validation function called. Let me provide a little background: We have a jqxgrid with jqx widgets, checkboxes, textfields and dropdowns populating the cells. The validation needs to occurs on the values and selections in these widgets when the widget loses focus. I call begincelledit on the cell when a widget gets focus, but when the widget loses focus, the validation function is not called. I’ve taken that to mean that the grid does not ‘see’ the focus being lost, since focus is on the widget, not the cell itself, therefore, the validation function is not called. That’s why I tried manual validation. This works, but it requires a form, which we don’t need but it its required, we’ll have to work with it.
Thanks again.April 8, 2016 at 1:50 pm in reply to: validation not called when using custom widget in grid validation not called when using custom widget in grid #83296
I forgot to include that when I make a change to any of the components, I get an error: “Uncaught TypeError: Cannot read property ‘custom-select’ of undefined”
Thanks for the reply. Do you have an example of how to use initwidgets? I haven’t been able to find one on the site.
Oh, and I should probably say that we are using virtualmode.
Sorry, this post is in the wrong forum