Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 9 of 9 total |
Bug In Grid |
Wed, Apr 13 2016 2:31 PM | Permanent Link |
squiffy Telemix Ltd. | If you set ShowLines to False no data gets displayed.
Tried it in a simple project with just a grid bound to a dataset and some data inserted. With the lines, data shows. Without the lines the grid is blank. |
Wed, Apr 13 2016 6:05 PM | Permanent Link |
Raul Team Elevate | On 4/13/2016 2:31 PM, squiffy wrote:
> If you set ShowLines to False no data gets displayed. > > Tried it in a simple project with just a grid bound to a dataset and some data inserted. > With the lines, data shows. Without the lines the grid is blank. Not able to duplicate it here - seeing data even without lines (Shwolines = false) 2.04 Build 1 Raul |
Thu, Apr 14 2016 2:21 AM | Permanent Link |
squiffy Telemix Ltd. | >> 2.04 Build 1
same build here, just rebooted everything and it still happens. erm.... attached is my example project. I suppose it's possible I've messed up my installation of EWB somehow, but I can't see how. Attachments: gridexample1.zip |
Thu, Apr 14 2016 4:12 AM | Permanent Link |
Matthew Jones | squiffy wrote:
> I suppose it's possible I've messed up my installation of EWB > somehow, but I can't see how. Just tried a quick test here, and I too see it working okay. 2.04b1 The relevant code appears to be this: WITHLINES_CLASS_NAME = 'WithLines'; function TGridTextCell.GetInterfaceClassName: String; begin Result:=TGridTextCell.ClassName; if (not Assigned(TGridColumn(Owner).ParentGrid)) or TGridColumn(Owner).ParentGrid.ShowLines then Result:=(Result+WITHLINES_CLASS_NAME); end; I assume that this means that there is an interface without the lines, and that yours is broken somehow. Check it is in the original state (change date?). -- Matthew Jones |
Thu, Apr 14 2016 4:54 AM | Permanent Link |
squiffy Telemix Ltd. | They look the same to me.
This is mine : function TGridTextCell.GetInterfaceClassName: String; begin Result:=TGridTextCell.ClassName; if (not Assigned(TGridColumn(Owner).ParentGrid)) or TGridColumn(Owner).ParentGrid.ShowLines then Result:=(Result+WITHLINES_CLASS_NAME); end; compared to yours : function TGridTextCell.GetInterfaceClassName: String; begin Result:=TGridTextCell.ClassName; if (not Assigned(TGridColumn(Owner).ParentGrid)) or TGridColumn(Owner).ParentGrid.ShowLines then Result:=(Result+WITHLINES_CLASS_NAME); end; Might have to do a fresh install unless anyone has any other ideas? |
Thu, Apr 14 2016 4:55 AM | Permanent Link |
squiffy Telemix Ltd. | Sorry,
that's not what I mean to post (the error wouldn't be there, that was a WIP post where i forgot to delete that code). |
Thu, Apr 14 2016 5:28 AM | Permanent Link |
Matthew Jones | squiffy wrote:
> Sorry, > that's not what I mean to post (the error wouldn't be there, that was > a WIP post where i forgot to delete that code). Indeed, it is the interface (.wbi file) that you need to be looking at. That code tells it which to load. -- Matthew Jones |
Fri, Apr 15 2016 10:16 AM | Permanent Link |
squiffy Telemix Ltd. | Ok, a reinstall of EWB fixed this issue.
|
Fri, Apr 15 2016 10:27 AM | Permanent Link |
squiffy Telemix Ltd. | >> Ok, a reinstall of EWB fixed this issue.
...and lost all my custom icons... Note to self .... |
This web page was last updated on Monday, September 9, 2024 at 03:13 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |