jQWidgets Forums

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts

  • rao
    Participant

    Hi Ivanov,
    I managed to achieve it, even before i see this post.
    Thanks for the confirmation.

    Regards,
    Rao.


    rao
    Participant

    Hi Dimitar,
    Thanks for the quick response on this.
    I have created an example on jsfiddle, Please refer below link for the same.
    https://jsfiddle.net/raokantipudi/cq9scLt6/#&togetherjs=oQLonol7Vg

    (OR)
    http://jsfiddle.net/6ewsLfn4/

    A) Try to act on vertical splitter. (Try to increase/decrease left panel width; and observe the Buttons panel )
    B) Try accessing it from FF / IE browser, it works
    C) Try accessing it from Chrome it DOESN’T,

    With Chrome, you can see the Buttons panel starts from left most end of Green panel, rather left end of second panel.

    Regards,
    Rao.

    in reply to: TreeGrid fully supports i18n? TreeGrid fully supports i18n? #82945

    rao
    Participant

    Hi Peter,
    To be clear on my requirement, i am just rephrasing in points.
    1. We are using jqxTreeGrid (for Hierarchical Data representation)
    2. We enabled sort option for the same
    3. when we sort on the any data columns by Ascending or Descending it’s work perfectly fine with English characters.
    4. We have the Chinese locale file for matching Data elements.
    5. If we sort by Ascending or descending, on chinese data it’s not happening.
    6. We are seeking for a fix to this. We have no logic behind sorting introduced to debug it.

    NOTE : As i observe, it looks first the column is getting sorted based on the English text, then “translate” is happening.
    Here we need to “Translate” first and then sort on the translated Data.

    I hope i made it clear.

    Regards,
    Rao.

    in reply to: TreeGrid fully supports i18n? TreeGrid fully supports i18n? #82896

    rao
    Participant

    Hi Peter,
    We own enterprise license, may i know the further customization to achieve.
    would you recommend me to send out an email to support@jqWidgets.com ?

    Regards,
    Satya.

    in reply to: TreeGrid fully supports i18n? TreeGrid fully supports i18n? #82536

    rao
    Participant

    Hi Peter,
    Array.sort is not i18n compliant i believe.
    Hence the data is not sorted properly in that locale (Chinese in this case).
    Its sorted in English and then translated, that’s all.

    Regards,
    Rao.


    rao
    Participant

    Thank you Peter,
    My search ended here.

    Regards,
    Rao.


    rao
    Participant

    Hi Peter,
    Thanks for the response.
    I have created an example
    https://www.jseditor.io/?key=filters-with-or-condition
    Please take a look at it.

    in the example i have created, there are 2 buttons, below the table.
    One with label “Sales Representatives” other one with “USA Based Employees”

    My intention is to get the appropriate list of
    1) first button click should show me list of records, whose Title Contains “Representative” (in the example there are 6 records)
    2) second button click should show me list of records, whose Country contains “USA” (in example there are 5 records)
    3) after clicking both buttons (assume in my application they are check boxes) ; i should see all the records, whether COUNTRY is “USA” or Title has “Representative” (so from the example data, i expect 8 records. means, only ‘Steven, Buchan’ doesn’t qualify any conditions applied; rest all are matching EITHER country OR title)

    Please let me know if any clarity is required.

    Regards,
    Rao.


    rao
    Participant

    Hi JqWidget Team,
    I am using jqxTreeGrid.
    I have a requirement of filters combination.
    Here is my case : At the top of the table there will be search implementation.
    Once i make the search it gives me matching records(on datafieldX) in the TreeGrid.
    And i have 2 toggle buttons (datafield1, datafield2) to filter data further.
    Here i have a requirement of showing the records from search Result, either if datafiled1 matches or datafield2 matches.

    Assume datafiled1 is Designation (my criteria is ‘Manager’) and datafiled2 is Dept (my criteria is “Sales”)

    Finally : 1) i will make text based “search”, say location as “London” (assume i got 50 resulted rows out of 100.) — result 50 rows
    2) I will click on ‘Show managers’ button (there are 5 out of 2 working in SALES dept) — result is 5 rows
    3) I will click on ‘show Sales People’ button (there are 20 sales ppl out of 50 from the results of #1) — result is : 23

    NOTE : There are 20 sales ppl, out of that there are 2 managers; And rest 3 are ‘Managers’ working in different departments, London based.

    i have implemented something like below

    var filterGroup = new $.jqx.filter();
    var filter_or_operator = 1; //OR condition
    var filterValue = true;
    var filterCondition = ‘equal’;

    var filter = filterGroup.createfilter(‘booleanfilter’, filterValue, filterCondition);
    filterGroup.addfilter(filter_or_operator, filter);

    the same filterGroup i used for adding both filters (managers, sales)

    althogh my filter_or_operatior is assigned to 1, i am not seeing the expected count of 23, but ONLY 2, which is INTERSECT of condition.

    Can i get some help here please ?

    Regards,
    Rao.

    in reply to: TreeGrid Filter/Search Field TreeGrid Filter/Search Field #80329

    rao
    Participant

    Hi jQWidgets Team,
    I have built the Tree structure using jqxTreeGrid. This was the recommendation as jqxTree wasn’t efficient with huge data.
    Now, the tree looks good.
    In order to take up for Element IDs, jqxTree was providing meaningful id, but NOT jqxTreeGrid.

    currently it shows as below, myTree was the div id.
    [@id=’row7myTree’]/td/span[3]

    Assume my data structure is as follows :
    1) json data:
    {
    id: ‘fruits’,
    lable : ‘Fruits’,
    items : [ ]
    }

    So, for sure, the data (especially ID attribute) in each level is unique. So i would like to have the <span> or <td> or of the data filed should have the ‘ID’ field of my json input given to jqxTreeGrid.
    Is there any possibility to achieve it ?

    2) Tree Structure.
    -All
    -Fruits
    -Peal
    – Orange
    – Chikku
    – Pappaya
    -NonPeal
    – Apple
    – Guava
    -Vegetables
    – Roots
    – Potato
    – Beet Root
    – Leafy
    – Mint
    – Palak

    Regards,
    Rao.

    in reply to: jqxTree Performance jqxTree Performance #80175

    rao
    Participant

    Hi Dimitar,
    Thanks a lot for clarification.
    There are styles over-ridden in my environment. I am taking care of them.

    Regards,
    Rao.

    in reply to: jqxTree Performance jqxTree Performance #80039

    rao
    Participant

    Hi Dimitar,
    Thanks for the pointers. It really helped me in achieving the tree.
    But for #2, I still see the Plus , Minus for expand/collapse actions.
    In the demos, i didn’t find any particular property getting set to achieve arrows instead of Plus/Minus.
    You have any guess, which could be causing it?

    Regards,
    Rao.

    in reply to: jqxTree Performance jqxTree Performance #80011

    rao
    Participant

    Hi Dimitar,
    Thanks for the quick response on this query.
    Yeah, I tried using the TreeGrid, but the challenges are :
    a) Not showing the Header of that particular One Column ( to pose it as real Tree).
    b) Changing the expandable icons from Plus Sign to “Right Arrow”, to match with real Tree.

    I did a search in the forums for the above 2 queries. I couldn’t find relevant thing.
    Do you have any clues on achieving it ?

    Regards,
    Rao.


    rao
    Participant

    Hi Dimitar,
    It worked with v3.9.1. Tree is shown with the proper hierarchy & Correct labels given for the Node names.
    Thank you for providing the info.

    But, the select event is not working. especially for below line. As we see, there is no definition/declaration for $scope.tree.
    so it says, ‘getItem’ is on undefined.
    var item = $scope.tree.getItem(event.args.element);

    When i read the ‘event.args.element’ it gives me entire ‘html’ code for the node;
    viz.,
    <li id=”3″ role=”treeitem” class=”jqx-tree-item-li” style=”margin-left: 16px;” aria-selected=”true”><div style=”display: inline-block;” class=”draggable jqx-rc-all jqx-tree-item jqx-item jqx-fill-state-pressed jqx-tree-item-selected”>Item 3</div>

    There from i can extract only ‘id’ attribute. But assume if i have to introduce few more/custom attributes to my JSON node, will i be able to access them as well ? If yes How?
    My node data going to be as follows :
    +++++++++++++++++++++++++++++++++++++++++

    {
    “id”: “phk_hlkm”,
    “value”: “solution”,
    “label”: “History Loader”,
    “type”: “primary”,
    “items”:
    [
    {
    “id”: “phk_hlkm/1.5.20”,
    “value”: “version”,
    “label”: “1.5.20”,
    “type”: “secondary”,
    “items”:
    [
    ]
    }
    ]
    }
    +++++++++++++++++++++++++++++++++++++++
    Regards,
    Rao.


    rao
    Participant

    Hi Dimitar,
    This is really quick response, thanks a lot. Let me try out with the latest version (3.9.1) as you recommended; and update on this forum with the findings.

    Regards,
    Rao.


    rao
    Participant

    Hi Dimitar,
    Thanks for the quick response.
    Sorry to say, this code didn’t work for me.
    I am getting 30+ nodes in the tree as flat list; all are labeled as ‘Item’ only.
    Just curious to check, if this works for you? Or any version dependency for this to work ?
    we have jqxTree.js of v3.5.0.

    Regards,
    Rao

Viewing 15 posts - 1 through 15 (of 18 total)