Dojo 1.15 Gridx Custom messages via Status Code from Http Response

65 Views Asked by At

I'm quite new to the dojo feameqork. The last few days I was working with dojo and gridx to create a view with data from a json rest store. Now I need to get custom error messages from the http response codes and display them inside the grid.

The only thing I was able to do was to display the standard messages from gridx.... Emptynode, load failed, etc. But my problem is that I can only put in some static messages for the 4 predefined values. But I need to ask for some error codes like 400, 403, 200 and set some specific custom messages for that.

I used Google and many many forums, but my only maybe-idea is to use the xhrget.... My question is.... Can I use this function in combination with inner HTML and gridx to display what I really need?

Dear community, I'm really sry for my bad English and I know this question is hard to answer but maybe there is anyone who can help me. I'm so pleased for.

Ps. I use gridx with the dojo datagrid

0

There are 0 best solutions below