Thanks Udara.

On Tue, Dec 29, 2015 at 11:52 AM, Udara Rathnayake <[email protected]> wrote:

> Hi Roshan,
>
> Populating gadget data using JS API's search with start and count[1] and
> render as per your requirement is also an option I think.
>
> [1]
> https://docs.wso2.com/display/DAS300/Retrieving+All+Records+Matching+the+Given+Search+Query+via+JS+API
>
> On Tue, Dec 29, 2015 at 12:43 PM, Roshan Wijesena <[email protected]> wrote:
>
>> probably we have to make  main.js's  "start" and "count" params into
>> dynamics to get this done.
>>
>>  var request = {
>>         type: 8,
>>         tableName: datasource,
>>         filter:filter,
>>         timeFrom: timeFrom,
>>         timeTo: timeTo,
>>         start: 10,
>>         count: 10
>>     };
>>
> ​If this works, you can just go and edit existing gadget to cater your
> requirement rather ​
> creating new one using JS API.​
>
>
>>
>> On Tue, Dec 29, 2015 at 11:25 AM, Roshan Wijesena <[email protected]>
>> wrote:
>>
>>> Hi Udara,
>>>
>>> Yes, I have a table like below within a gadget, currently it shows all
>>> records available in the database table. Looking for a pagination solution
>>> for this like 10 by 10 records.
>>>
>>>
>>> ​
>>>
>>> On Tue, Dec 29, 2015 at 11:08 AM, Udara Rathnayake <[email protected]>
>>> wrote:
>>>
>>>> Hi Roshan,
>>>>
>>>> Are we talking about displaying paginated content within a gadget?
>>>>
>>>> On Tue, Dec 29, 2015 at 11:58 AM, Maninda Edirisooriya <
>>>> [email protected]> wrote:
>>>>
>>>>> [+Dunith]
>>>>>
>>>>> AFAIK you have to edit files to customize DAS dashboards.
>>>>> Thanks.
>>>>>
>>>>>
>>>>> *Maninda Edirisooriya*
>>>>> Senior Software Engineer
>>>>>
>>>>> *WSO2, Inc.*lean.enterprise.middleware.
>>>>>
>>>>> *Blog* : http://maninda.blogspot.com/
>>>>> *E-mail* : [email protected]
>>>>> *Skype* : @manindae
>>>>> *Twitter* : @maninda
>>>>>
>>>>> On Tue, Dec 29, 2015 at 10:23 PM, Roshan Wijesena <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Is there any  way to add paginations into DAS dashboard data table
>>>>>> rather customize its d3.js files?
>>>>>>
>>>>>> -Roshan
>>>>>>
>>>>>> --
>>>>>> Roshan Wijesena.
>>>>>> Senior Software Engineer-WSO2 Inc.
>>>>>> Mobile: *+94719154640 <%2B94719154640>*
>>>>>> Email: [email protected]
>>>>>> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
>>>>>> lean.enterprise.middleware.
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Regards,
>>>> UdaraR
>>>>
>>>
>>>
>>>
>>> --
>>> Roshan Wijesena.
>>> Senior Software Engineer-WSO2 Inc.
>>> Mobile: *+94719154640 <%2B94719154640>*
>>> Email: [email protected]
>>> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
>>> lean.enterprise.middleware.
>>>
>>
>>
>>
>> --
>> Roshan Wijesena.
>> Senior Software Engineer-WSO2 Inc.
>> Mobile: *+94719154640 <%2B94719154640>*
>> Email: [email protected]
>> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
>> lean.enterprise.middleware.
>>
>
>
>
> --
> Regards,
> UdaraR
>



-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: [email protected]
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to