[Dev] [DEV][DAS] How to add pagination into dashboard data table?

2015-12-29 Thread Roshan Wijesena
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*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com *
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV][DAS] How to add pagination into dashboard data table?

2015-12-29 Thread Roshan Wijesena
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  wrote:

> Hi Roshan,
>
> Are we talking about displaying paginated content within a gadget?
>
> On Tue, Dec 29, 2015 at 11:58 AM, Maninda Edirisooriya 
> 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* : mani...@wso2.com
>> *Skype* : @manindae
>> *Twitter* : @maninda
>>
>> On Tue, Dec 29, 2015 at 10:23 PM, Roshan Wijesena 
>> 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: ros...@wso2.com
>>> *WSO2, Inc. :** wso2.com *
>>> lean.enterprise.middleware.
>>>
>>
>>
>
>
> --
> Regards,
> UdaraR
>



-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com *
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV][DAS] How to add pagination into dashboard data table?

2015-12-29 Thread Udara Rathnayake
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  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  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 
>> wrote:
>>
>>> Hi Roshan,
>>>
>>> Are we talking about displaying paginated content within a gadget?
>>>
>>> On Tue, Dec 29, 2015 at 11:58 AM, Maninda Edirisooriya >> > 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* : mani...@wso2.com
 *Skype* : @manindae
 *Twitter* : @maninda

 On Tue, Dec 29, 2015 at 10:23 PM, Roshan Wijesena 
 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: ros...@wso2.com
> *WSO2, Inc. :** wso2.com *
> lean.enterprise.middleware.
>


>>>
>>>
>>> --
>>> Regards,
>>> UdaraR
>>>
>>
>>
>>
>> --
>> Roshan Wijesena.
>> Senior Software Engineer-WSO2 Inc.
>> Mobile: *+94719154640 <%2B94719154640>*
>> Email: ros...@wso2.com
>> *WSO2, Inc. :** wso2.com *
>> lean.enterprise.middleware.
>>
>
>
>
> --
> Roshan Wijesena.
> Senior Software Engineer-WSO2 Inc.
> Mobile: *+94719154640 <%2B94719154640>*
> Email: ros...@wso2.com
> *WSO2, Inc. :** wso2.com *
> lean.enterprise.middleware.
>



-- 
Regards,
UdaraR
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV][DAS] How to add pagination into dashboard data table?

2015-12-29 Thread Roshan Wijesena
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
};

On Tue, Dec 29, 2015 at 11:25 AM, Roshan Wijesena  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 
> wrote:
>
>> Hi Roshan,
>>
>> Are we talking about displaying paginated content within a gadget?
>>
>> On Tue, Dec 29, 2015 at 11:58 AM, Maninda Edirisooriya 
>> 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* : mani...@wso2.com
>>> *Skype* : @manindae
>>> *Twitter* : @maninda
>>>
>>> On Tue, Dec 29, 2015 at 10:23 PM, Roshan Wijesena 
>>> 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: ros...@wso2.com
 *WSO2, Inc. :** wso2.com *
 lean.enterprise.middleware.

>>>
>>>
>>
>>
>> --
>> Regards,
>> UdaraR
>>
>
>
>
> --
> Roshan Wijesena.
> Senior Software Engineer-WSO2 Inc.
> Mobile: *+94719154640 <%2B94719154640>*
> Email: ros...@wso2.com
> *WSO2, Inc. :** wso2.com *
> lean.enterprise.middleware.
>



-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com *
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV][DAS] How to add pagination into dashboard data table?

2015-12-29 Thread Maninda Edirisooriya
[+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* : mani...@wso2.com
*Skype* : @manindae
*Twitter* : @maninda

On Tue, Dec 29, 2015 at 10:23 PM, Roshan Wijesena  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: ros...@wso2.com
> *WSO2, Inc. :** wso2.com *
> lean.enterprise.middleware.
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV][DAS] How to add pagination into dashboard data table?

2015-12-29 Thread Udara Rathnayake
Hi Roshan,

Are we talking about displaying paginated content within a gadget?

On Tue, Dec 29, 2015 at 11:58 AM, Maninda Edirisooriya 
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* : mani...@wso2.com
> *Skype* : @manindae
> *Twitter* : @maninda
>
> On Tue, Dec 29, 2015 at 10:23 PM, Roshan Wijesena  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: ros...@wso2.com
>> *WSO2, Inc. :** wso2.com *
>> lean.enterprise.middleware.
>>
>
>


-- 
Regards,
UdaraR
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV][DAS] How to add pagination into dashboard data table?

2015-12-29 Thread Roshan Wijesena
Thanks Udara.

On Tue, Dec 29, 2015 at 11:52 AM, Udara Rathnayake  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  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 
>> 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 
>>> wrote:
>>>
 Hi Roshan,

 Are we talking about displaying paginated content within a gadget?

 On Tue, Dec 29, 2015 at 11:58 AM, Maninda Edirisooriya <
 mani...@wso2.com> 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* : mani...@wso2.com
> *Skype* : @manindae
> *Twitter* : @maninda
>
> On Tue, Dec 29, 2015 at 10:23 PM, Roshan Wijesena 
> 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: ros...@wso2.com
>> *WSO2, Inc. :** wso2.com *
>> lean.enterprise.middleware.
>>
>
>


 --
 Regards,
 UdaraR

>>>
>>>
>>>
>>> --
>>> Roshan Wijesena.
>>> Senior Software Engineer-WSO2 Inc.
>>> Mobile: *+94719154640 <%2B94719154640>*
>>> Email: ros...@wso2.com
>>> *WSO2, Inc. :** wso2.com *
>>> lean.enterprise.middleware.
>>>
>>
>>
>>
>> --
>> Roshan Wijesena.
>> Senior Software Engineer-WSO2 Inc.
>> Mobile: *+94719154640 <%2B94719154640>*
>> Email: ros...@wso2.com
>> *WSO2, Inc. :** wso2.com *
>> lean.enterprise.middleware.
>>
>
>
>
> --
> Regards,
> UdaraR
>



-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com *
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev