Hi,
In the "Trial Balance" report each page displaying 20 rows at a time. Where this max row size is mentioned . I think its a global specification. Can I customize it? While printing I need all records in a single screen.Not like in Global GL Setting--> List Accounts Print Regards, Prasanthi |
hi,
If you want to change this globally then , this setting is done in widget.properties file, and if you want to customize at screen level then you have to set viewIndex and viewSize fields. and set their default value. HTH Ravindra Mandre Bangalore On Thu, May 20, 2010 at 2:30 PM, prasanthi_ofbiz < [hidden email]> wrote: > > Hi, > In the "Trial Balance" report each page displaying 20 rows at a time. Where > this max row size is mentioned . I think its a global specification. Can I > customize it? While printing I need all records in a single screen.Not like > in Global GL Setting--> List Accounts Print > > Regards, > Prasanthi > -- > View this message in context: > http://ofbiz.135035.n4.nabble.com/Search-result-table-Rows-max-length-Specification-tp2224142p2224142.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > |
Hello Ravindra,
Thanks for your suggestion. Yeah I want to customization at screen level i.e; for Trial Balance Report. I changed in the screen like instead of using fron-field for viewSize I specified value ad '100' but its not working. <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer" default-value="0"/> <set field="viewSize" value="100" type="Integer" default-value="1000"/> Please tell me what's the problem. Regards, Prasanthi |
In reply to this post by Ravindra Mandre-2
Hi Ravindra,
I am thinking that i want to pass the viewSize value as the result length. How it can be achieved.?? Regards Prasanthi |
In reply to this post by prasanthi_ofbiz
On Thu, May 20, 2010 at 6:15 PM, prasanthi_ofbiz <
[hidden email]> wrote: > > Hello Ravindra, > Thanks for your suggestion. > Yeah I want to customization at screen level i.e; for Trial Balance Report. > I changed in the screen like instead of using fron-field for viewSize I > specified value ad '100' but its not working. > > <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer" > default-value="0"/> > <set field="viewSize" value="100" type="Integer" default-value="1000"/> > > I am not sure why its not working for 1000 , but I suggest you should try are not able to display. or you may try setting this {parameters.VIEW_INDEX } field in ftl . see the categorydetail.ftl for reference. HTH Ravindra > Please tell me what's the problem. > > Regards, > Prasanthi > -- > View this message in context: > http://ofbiz.135035.n4.nabble.com/Search-result-table-Rows-max-length-Specification-tp2224142p2224462.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > |
Hi Ravindra,
I tried it for value '10' also, its not reflecting. If I check the ModelForm.java in that its taking index and size values from context object,which contains values as below. ==>[viewIndex]:0 ==>[viewSize]:20 ==>[lowIndex]:0 ==>[highIndex]:20 Eventhough I removed the below 2 lines of code from screen its not interrupting the flow <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer" default-value="0"/> <set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="1000"/> Regards, Prasanthi |
In reply to this post by Ravindra Mandre-2
Hi Ravindra,
I got the solution. viewSize value is always taking from defaultViewSize which isin the ModelForm.java. There directly i have checked with the screen name and set that value to 100. Regards, Prasanthi |
Hi Prasanthi,
Good to hear that you solved , I would suggest that you should document these issues for future . Ravindra Mandre On Fri, May 21, 2010 at 12:48 PM, prasanthi_ofbiz < [hidden email]> wrote: > > Hi Ravindra, > I got the solution. viewSize value is always taking from defaultViewSize > which isin the ModelForm.java. There directly i have checked with the > screen > name and set that value to 100. > Regards, > Prasanthi > -- > View this message in context: > http://ofbiz.135035.n4.nabble.com/Search-result-table-Rows-max-length-Specification-tp2224142p2225706.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > |
In reply to this post by prasanthi_ofbiz
prasanthi_ofbiz wrote:
> Hi, > In the "Trial Balance" report each page displaying 20 rows at a time. Where > this max row size is mentioned . I think its a global specification. Can I > customize it? While printing I need all records in a single screen.Not like > in Global GL Setting--> List Accounts Print > > Regards, > Prasanthi > Did you try to set paginate="false" on the form? This should disable pagination and show all the records. You can find such an example in Chart of Accounts screen -> Export as PDF Bilgin |
Hello Bilgin ,
Yeash I tried the same but not working its giving 20 rows to a page. As I said earlier i have changed code in the ModelForm.java its giving one error in the all look up screen. Attached the screen shot please let me know whats the problem Regards, Prasanthi lookScreen.png |
Hi Bilgin,
I resolved the issue. The problem is while requesting for look up its not having any titleProperty in its context map variable. Regards, Prasanthi |
In reply to this post by prasanthi_ofbiz
I will take a look at this one.
Bilgin On Mon, May 24, 2010 at 8:35 AM, prasanthi_ofbiz < [hidden email]> wrote: > > Hello Bilgin , > Yeash I tried the same but not working its giving 20 rows to a page. > As I said earlier i have changed code in the ModelForm.java its giving one > error in the all look up screen. Attached the screen shot please let me > know > whats the problem > > Regards, > Prasanthi > > > http://n4.nabble.com/file/n2228290/lookScreen.png lookScreen.png > -- > View this message in context: > http://ofbiz.135035.n4.nabble.com/Search-result-table-Rows-max-length-Specification-tp2224142p2228290.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > |
Looking at trunk version of Trial Balance screen, I see that pagination is
already disabled by setting the viewSize to 99999, which is similar to disabling it. No idea why you are getting 20 records per page. Bilgin On Mon, May 24, 2010 at 2:39 PM, Bilgin Ibryam <[hidden email]> wrote: > I will take a look at this one. > > Bilgin > > > On Mon, May 24, 2010 at 8:35 AM, prasanthi_ofbiz < > [hidden email]> wrote: > >> >> Hello Bilgin , >> Yeash I tried the same but not working its giving 20 rows to a page. >> As I said earlier i have changed code in the ModelForm.java its giving one >> error in the all look up screen. Attached the screen shot please let me >> know >> whats the problem >> >> Regards, >> Prasanthi >> >> >> http://n4.nabble.com/file/n2228290/lookScreen.png lookScreen.png >> -- >> View this message in context: >> http://ofbiz.135035.n4.nabble.com/Search-result-table-Rows-max-length-Specification-tp2224142p2228290.html >> Sent from the OFBiz - User mailing list archive at Nabble.com. >> > > |
Free forum by Nabble | Edit this page |