Jump to content

Search the Community

Showing results for tags 'tunidbtreegrid'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • uniGUI Public
    • Announcements
    • General
    • Feature Requests
    • Installation
    • Deployment
    • Other Platforms
  • Licensing
    • Licensing
    • Ordering uniGUI
  • Bug Reports
    • Active Reports
    • Closed Reports
    • Old Bug Reports
  • uniGUI Development
    • General Development
    • uniGUI Releases & Roadmaps
    • Utilities
  • Mobile Platform
    • uniGUI Mobile
    • Mobile Browsers
  • Users Area
    • Sample Projects
    • Components and Code Samples
    • Third Party Components
  • Non-English
    • Non-English
  • Miscellaneous
    • Hosting
    • Server Security
    • Jobs

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 5 results

  1. После полного разворота дерева treeGrid.FullExpand; нет полосьі прокрутки а так же не работает прокрутка колесом мьішки свойство LayoutConfig.Flex := 1. В приложении используется клиентское вьіравнивание uniAlignmentClient.
  2. Подскажите, как работает и для чего свойство TUniDBTreeGrid.TreeKeyFields? Справка пустая. Спасибо. Например, есть в базе структура ID, PARENT_ID, NAME и еще несколько доп. полей.
  3. Hello, Assigning OnGetText event of TField doesn't make any difference if field is in TreeKeyFields for TUniDBTreeGrid . In TuniDBGrid it shows correct, but in TUniDBTreeGrid it shows original value. Issue: TDataSet/Query has fields: SEQ_1, SEQ_2, SEQ_3, PRODLEV1, PRODLEV2, PRODLEV3, Field_Name Field_Value When I assigned TreeKeyFields := 'PRODLEV1; PRODLEV2;PRODLEV3'; The first node come ARC and not EME, so it alphabetical order and not as order in TDataSet. I found your comment that it could be used OnGetText to change text for nodes in TUniDBTreeGrid, I have changed TreeKeyFields from 'PRODLEV1; PRODLEV2;PRODLEV3' to TreeKeyFields := 'SEQ_1;SEQ_2;SEQ_3'; And plus to that I have created OnGetText for SEQ_1,SEQ_2,SEQ_3 fields to show Text and not Sequence number, but it shows sequences: 1, 2, ... and not EME, ARC, ..... for nodes in the DBTreeGrid. You can see in attached image TUniDBGrid shows values based on OnGetText correctly, but TUniDBTreeGrid does not. I have attached two images: one is screen from app and other some data example, so you can have some idea about data. What I try to achieve is make DBTreeGrid to show data in order based on SEQ_1, SEQ_2, SEQ_3 and not in Alphabetical order. I am working on the latest full license, WebApp is desktop. Could you please suggest any solutions? Thank you in advance. Kind Regards.
  4. Hi! I heed help again Problem is in displaying the selected dbtreegrid node which was found in underlying dataset by Locate(...) method. I have two TUniDBTreeGrid components on form. GridStructure shows structure of nodes with two levels, GridData should display info for selected node in GridStructure. So when I use Locate to find node in manually or programmatically collapsed GridStructure, dataset position is correct and info in GridData is OK, but the selection in GridStructure displays incorrectly. I wrote "expandSelectedNode" method (as you advised me): function beforeInit(sender, config) { var me = sender; me.expandSelectedNode = function() { var _selection = me.getSelectionModel().getSelection()[0]; if (_selection) { _selection.cascadeBy(function(node) { node.expand(); }); sender.ensureVisible(sender.getSelectionModel().getSelection()[0]); } }; } And after locating record I use this code: grdStructure.JSInterface.JSCall('expandSelectedNode', []); grdStructure.JSInterface.JSCode('Ext.defer(function(){'#1'.ensureVisible('#1'.getSelection()[0])}, 200);'); But is doesn't helph in some cases. I've made a testcase to demonstrate my problem. TreeGridLocationTestCase Please, do following: 1) Select node "Node1" in GridStructure, press button "Refresh info" below - Node1 is selected in GridStructure, GridData shows info for Node1 = CORRECT 2) Expand Node1, select child node "Node1_13" in GridStructure, press button "Refresh info" - Node1_13 is selected in GridStructure, GridData shows info for Node1_13 = CORRECT 3) Select Node1_13, press button "RefreshStructure" higher, press button "RefreshData" below - tree is collapsed, selection is not visible in GridStructure, GridData shows info for Node1_13 = INCORRECT 4) Expand Node1 in GridStructure, type text "Node1_14" in the edit box on the top of form, press button "Search structure node" - node "Node1_14" is found and selected, GridData shows info for Node1_14 = CORRECT 5) Collapse tree in GridStructure, type text "Node1_15" in the edit box on the top of form, press button "Search structure node" - tree is collapsed, selection is not visible in GridStructure, GridData shows info for Node1_15 = INCORRECT Please, "kick me out" of this swamp, somebody! Thank you!
  5. Good afternoon, some of the themes, like W10, do not mark the selected row neither the mouseover with a color (neptune or default do so). Anyway I tried to change this by some css, like explained (here at the forum) for all other grid types, but it did not work with the UniDBTreeGrid. For me it seems, there is some other CSS I could need, but I could really need some advice now. Best regards from Berlin, Gerhard
×
×
  • Create New...