ProtoUI of datatable

Hi Webix team,

https://snippet.webix.com/et3kpj6o

In this snippet I am having protoUI of datatable.
I am taking the data from server, for that I want to some parameters to server to take data, and I want that parameters from the person who will use my ProtoUI.
How I can do this?
Please give me right solution for this.

Thanks,
Mira

Comments

  • Hello,

    I am taking the data from server, for that I want to some parameters to server to take data, and I want that parameters from the person who will use my ProtoUI.

    Event handlers take certain parameters defined in inner Webix logic.
    Considering the source of the parameters for your Ajax request, I can assume that you need to store them separately in some data model related to the current session.
    Also, in your protoUI onAfterRender is not truly attached to a component - instead, the needed code is forsed by Immediately Invoked Function Expression, which is not a valid call for an event handler, as was already mentioned in the related forum thread.

    As an alternate solution, I would suggest to use datatable features to load the data when the grid is initialized: https://snippet.webix.com/1xatszj5

  • edited December 2018

    Hi @Nastja ,
    Thanks for your reply.

    I don't want any global parameter.

    https://snippet.webix.com/6gw8m4ud

    I want to send the parameters where I am writing view:"history",(in snippet I mention in comment)
    Is it possible?

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!