Jump to content
UBot Underground

Jquery In Ui Html Panel


Recommended Posts

So I know jquery can be used in the UI HTML panel and I know that there are many jquery datagrid solutions out there.  That being said, being new to jquery, I've had difficulty in implementing solutions like these within the UI HTML panel:

 

http://www.jeasyui.com/demo/main/index.php?plugin=Application&theme=default&dir=ltr&pitem=

 

http://www.datatables.net/examples/basic_init/zero_configuration.html

 

http://paramquery.com/pro

 

Are we able to take advantage all that these solutions offer within the UI Html panel?  For example, using most of these solutions, I can create and populate a datagrid with data (and they look real nice actually with all the bells and whistles that jquery offers ), but is it possible to refresh the data within the datagrid?  I know that we cannot refresh the UI Html panel itself, but assuming the data within a grid is a javascript array, would it be possible to have a jquery onclick event assigned to a button that when clicked would run a js function that would recreate a new js array and run another js funtion that loads that array into the grid using the methods available to the solutions I linked to earlier?

 

Hopefully that makes sense to someone who has tried to do what I'm looking to do and I appreciate any insight that anyone can offer.  :)

Link to post
Share on other sites

So I know jquery can be used in the UI HTML panel and I know that there are many jquery datagrid solutions out there.  That being said, being new to jquery, I've had difficulty in implementing solutions like these within the UI HTML panel:

 

http://www.jeasyui.com/demo/main/index.php?plugin=Application&theme=default&dir=ltr&pitem=

 

http://www.datatables.net/examples/basic_init/zero_configuration.html

 

http://paramquery.com/pro

 

Are we able to take advantage all that these solutions offer within the UI Html panel?  For example, using most of these solutions, I can create and populate a datagrid with data (and they look real nice actually with all the bells and whistles that jquery offers ), but is it possible to refresh the data within the datagrid?  I know that we cannot refresh the UI Html panel itself, but assuming the data within a grid is a javascript array, would it be possible to have a jquery onclick event assigned to a button that when clicked would run a js function that would recreate a new js array and run another js funtion that loads that array into the grid using the methods available to the solutions I linked to earlier?

 

Hopefully that makes sense to someone who has tried to do what I'm looking to do and I appreciate any insight that anyone can offer.  :)

 

Yes, u can integrate these datagrids in ui html. i have already implemented one in my plugin http://www.ubotstudio.com/forum/index.php?/topic/15993-sell-ultimate-ubot-plugin-all-in-one/ .  Data can be refresh and populate by loading it in ubot browser intsead of inside ui html panel.  Day before yesterday implemented a  ubot table 2 data grid function using  ParamQuery Grid and it will be the part of ultimate plugin in next update. 

 

Hope it helps.

  • Like 1
Link to post
Share on other sites

Yes, u can integrate these datagrids in ui html. i have already implemented one in my plugin http://www.ubotstudio.com/forum/index.php?/topic/15993-sell-ultimate-ubot-plugin-all-in-one/ .  Data can be refresh and populate by loading it in ubot browser intsead of inside ui html panel.  Day before yesterday implemented a  ubot table 2 data grid function using  ParamQuery Grid and it will be the part of ultimate plugin in next update. 

 

Hope it helps.

 

 

Thanks, Abbas.  I was hoping to be able to utilize something like this inside the UI, but from what I'm gathering, it doesn't seem possible to refresh anything in the UI (other than dynamic variables) even using jquery.  I was trying hard to make a bot using the UI only, but I guess I'll have to reluctantly start considering using the browser with the UI for this particular project.  :(

Link to post
Share on other sites
Bawzee,

 

Daryl talks about being able to refresh the UI with his builder. See the video on his page:

 

"Refresh" the UI in the UI HTML Panel

 

http://www.ubotstudio.com/forum/index.php?/topic/16343-sell-newgen-ui-builder-most-advanced-feature-rich-drag-drop-ui-builder-for-ubot/

Link to post
Share on other sites

Bawzee,

 

Daryl talks about being able to refresh the UI with his builder. See the video on his page:

 

"Refresh" the UI in the UI HTML Panel

 

http://www.ubotstudio.com/forum/index.php?/topic/16343-sell-newgen-ui-builder-most-advanced-feature-rich-drag-drop-ui-builder-for-ubot/

 

 

Thanks, Andy.  I do have Darryl's UI Builder, but I'm not sure if this is a "true" refresh of data on the same view vs a simulated refresh by showing different elements on the UI for each "refresh".  I've pretty much come to terms that any data refresh would need to be done with Load HTML, but I am pretty stubborn so I have a couple more things I may try first.  :)

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...