How do I set the value of a NumberField in EXTjs? - extjs4

I have a NumberField in ExtJS4 that is on a panel.
After I load some data (via an AJAX JSONStore), I want to populate some number fields but can't seem to get it or find documentation.
Any clues on where to look?
Thanks.

Did you try:
numberfield.setValue(yourvalue);

Related

Set Multi-Select Custom Field via Pardot API

does anyone know if (and how)it is possible to set the value of a custom field when it´s type is "Multi-Select"? I cannot find any information about it in the official Pardot API documentation.
I hope that this is possible... if not, do you know a workaround?
Thanks for your help!
I already tried to set the value of the multi-select custom field as an normal string, but it didn´t work.

Display tag ver 1.2

I have an issue with displaytag 1.2 and struts.
I am using pagination of display tag. when i 'go' in page 2 and I click sumbit I lost all the value of the list.
How can I keep track of those values?
I mean, in my action i have only the value of the elements current displayed, I need all the value.
Thanks in advance
Kind regards
If you use the value list pattern as they said at their site then you need to handle partial values from your customized class which will implement the org.displaytag.pagination.PaginatedList interface.
But there is another way too where you don't have to do anything except giving some parameter.
Read this Doc carefully

Download Filtered Data using CGridView Yii

I'm using CGridView Widget to show my data. I have a button to download, but I don't know how to do it just with the filtered data.
Any help or guidance will be appreciated.
The solution is to save the filtered data in a session variable. This filtered data are in the search function inside the model.
I don't what what you mean by download, may be you are referring to export the data to a file like .xls for example. If this is the case may be you should try using a grid export extension like EExcelView.
I'm the author of the extension so if you have any troubles please let me know, or write an issue in github.

Is there a way to implement ajax search with dojo data grid component?

I am using dojox.grid.DataGrid and dojo.data.ItemFileWriteStore to render a grid. I want to implement a record search. Is there any way to do this?
After loading the page someone can search through the 'search form' above the grid. when the search button is pressed it will refresh/reload the grid data returned from the server according to the form values.
Please check the illustration.
You need to apply the filter() method on the DataGrid instance. Here you'll find the exact answer to your problem: http://dojotoolkit.org/reference-guide/dojox/grid/DataGrid.html#filtering-data

jqGrid search/filter data api

I've already read all available documentation and I cannot find a solution.
I have a calendar outside of the grid which on click returns a date. All I need to do is filter my jqGrid based on that date. Can someone point me to the correct API method?
Thanks!
You could do the filtering server-side. Attach an event to the calendar such that when the date is changed, the grid will be reloaded by data from the server. When you do the reload, pass the date to the server so that it can do filtering based upon that date.
See reload-a-loaded-jqgrid-with-a-diffent-table-data for some pointers on how to reload the grid.
Perhaps my example here will help you:
How to filter the jqGrid data NOT using the built in search/filter box
(I do the same thing, but filter my jqGrid data based on a textbox value, outside of the jqGrid.)