Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 31 2018 10:23
    pikoslav starred jnm2/DevExpressMods
  • Dec 02 2017 23:42
    jnm2 closed #22
  • Dec 02 2017 23:42
    jnm2 commented #22
  • Dec 02 2017 23:42
    jnm2 commented #23
  • Dec 02 2017 23:40

    jnm2 on v1.3.0

    (compare)

  • Dec 02 2017 23:39

    jnm2 on master

    Updated for DevExpress 17.2.3.1… Version 1.3.0 (compare)

  • Dec 02 2017 01:28
    jnm2 milestoned #22
  • Dec 02 2017 01:18
    jnm2 commented #23
  • Dec 02 2017 01:14

    jnm2 on v1.2.0

    (compare)

  • Dec 02 2017 01:14
    jnm2 closed #24
  • Dec 02 2017 01:14
    jnm2 commented #24
  • Dec 02 2017 01:12

    jnm2 on master

    Use MSBuild Pack Enabled warnings-as-errors and … Updated to DevExpress 17.2.3 and 3 more (compare)

  • Dec 02 2017 01:04

    jnm2 on devexpress17.2

    (compare)

  • Dec 02 2017 01:02

    jnm2 on master

    Use modern csproj and DevExpres… Use MSBuild Pack Enabled warnings-as-errors and … and 4 more (compare)

  • Dec 02 2017 00:33

    jnm2 on master

    Use MSBuild Pack Enabled warnings-as-errors and … Updated to DevExpress 17.2.3 and 3 more (compare)

  • Dec 02 2017 00:31

    jnm2 on master

    Version 1.2.0 (compare)

  • Dec 02 2017 00:29

    jnm2 on master

    Version 1.2.0 (compare)

  • Dec 02 2017 00:06
    jnm2 demilestoned #22
  • Dec 02 2017 00:04

    jnm2 on master

    Use modern csproj and DevExpres… Use MSBuild Pack Enabled warnings-as-errors and … and 3 more (compare)

  • Dec 02 2017 00:03

    jnm2 on devexpress17.2

    Removed need for broken reflect… (compare)

Joseph Musser
@jnm2
Still feel like I'm missing part of the picture because I don't see a need for ^.Client.Id.
Joseph Musser
@jnm2
@ScottGross I'm feeling something that might be like your pain with SumaryFields- not that I want to group the value by whatever label is bound to it, but that I want to summarize summarized data at a different level of grouping.
I need to group by one field and summarize (weighted average), then group by another field and summarize (weighted average with non-associative weight).
Joseph Musser
@jnm2
The issue is, in T-SQL parlance, SummaryFields are exactly like window functions. You can partition by (group with RunningBand) and order by (only works with running sum so far), but here's the issue: the output of the window function is repeated once for every row. It's not like a group where the output is once per group.
Summary fields can add window function calculations to a data table but they cannot invent a new data table with fewer rows, one for each group.
Lemme give an example. This is the data table:
A, 1
A, 2
B, 3
B, 4
B, 5
Say I want to group by the first column and average the second column, then I want to group everything and average that. I want to do this:
A, 1.5
B, 4
Then the second level average on 1.5 and 4 gives 2.75.
Joseph Musser
@jnm2
But since summary fields are like window functions, this is what actually happens when I use a summary field:
A, 1, 1.5
A, 2, 1.5
B, 3, 4
B, 4, 4
B, 5, 4
Then when I average 1.5, 1.5, 4, 4, and 4, I get 3 instead of 2.75.
I need some way to skip the second and third A and B rows.
So the question is, do I hack around this or do I try to make grouping (rather than partitioning) a thing?
It would not be via summary fields since by their very nature they must be window functions.
Unless... I renamed RunningBand PartitionByBand and introduced a GroupByBand that did magic.
Joseph Musser
@jnm2
Let's define the magic. if a GroupByBand is set, the summary field only operates on a group of rows rather than single rows. The easiest is to say the first or last row. Assuming you're only summarizing summary fields which partition by that group or a higher group, it does not matter which row is used since they will be identical.
Otherwise, you'll have to figure out how to summarize the rows into a group. Which could actually be done if the Expression became a child collection type expression.
Hmm.
Aran Koning
@KoningUU
Hey there, thanks for the library - it's greatly appreciated! An issue I ran into is that it necessary to call SummaryFieldsFeature.Apply before opening the report. It took me a while to find out, so it would be nice if this was mentioned in the README.md.
Joseph Musser
@jnm2
I did call that out explicitly here: https://github.com/jnm2/DevExpressMods/blob/master/Readme.md#getting-started
But I do need to reword that now that there is a NuGet package.
SummaryFieldsFeature.Apply should probably be the preferred way to do it, rather than ModdedEndUserDesigner.cs.
Thanks for the tip!
Aran Koning
@KoningUU
This message was deleted
Ah, I didn't catch that then
Joseph Musser
@jnm2
That goes to show that I need to present the information a little better in the readme. What's your opinion on where it should go?
Aran Koning
@KoningUU
I'd say Getting Started is the correct header
Our specific situation was a bit different because we create the XRDesignForm with code
Joseph Musser
@jnm2
Pointing everyone to SummaryFieldsFeature.Apply should be both the most widely useful and also the correct level of granularity.
Aran Koning
@KoningUU
I agree yes
Joseph Musser
@jnm2
Back before I realized IDesignForm gave access to the MDI controller and the dock manager, Apply was more complicated and I thought adding a sample modded designer would be helpful. But I think it's probably more harmful than anything. It ended up helping to introduce a bug (#9).
Just need to finish #8.
Aran Koning
@KoningUU
That would be really nice
I guess it's also hard to use for some people because they're not yet up-to-date with DX16.1
Joseph Musser
@jnm2
What's interesting about supporting multiple major and minor versions of DX is that I'd have to build separate binaries for each version.
And learn enough NuGet-foo to put them all in a package and restore the correct binaries. If that's even possible. If not, one NuGet package per DevExpress version.
Also, there were breaking changes between 15.1 and 15.2 so I'd need to start using compiler preprocessing.
Long story short- if someone actually needs this, I'll do it. If not, I'll work on something more useful.
Joseph Musser
@jnm2
Binding redirects might help too. They would have to be set up for each project that consumes the NuGet package.
Binding redirects don't solve the breaking API changes issue.
Siwaphat
@siwaphatpg_twitter
Hi everyone.
Does this room still avaliable ?
Joseph Musser
@jnm2
@siwaphatpg_twitter Hi! Yes, I'm available here.
Mike Mahon
@jetstreamin
singing Pink Floyd ~~~ Is there anybody out there?
Joseph Musser
@jnm2
Don't tell me I have to worry about bots now.
Siwaphat
@siwaphatpg_twitter
@jnm2 I'm glad to join this room, Is this room use to ask or talking about Devexpress tools or anything from Devexpress ?
I use XAF framework to developing my production but I still have something to know with XAF framework.
Joseph Musser
@jnm2
@siwaphatpg_twitter Sorry, it's not. The best thing I can recommend is https://www.devexpress.com/support/.
This Gitter chat is only about the project described by this readme: https://github.com/jnm2/DevExpressMods#end-of-an-era
Siwaphat
@siwaphatpg_twitter
Ok I understood, Thank you.
AtlantisDe
@AtlantisDe

hello..friends...

how can i get the mouse click a tabFormControl1 object ..Double click on the blank area thankyou i need your help any help is welcome Thanks very much... PS. excuse my English...i only know a little English....

this.tabFormControl1.MouseDown += F_MouseDown;
//here the click... it can click the pagetab..
//i don't  want it click the tabtitle

if (e.X == 8 && e.Y == 9)
            {
                //click the tabtitle right : on the blank area
                //i can do something
                // such as  i can change the form :
                this.WindowState = FormWindowState.Maximized;
            }
            else
            {
                //is click the tab title... ...can do something
            }

alt

AtlantisDe
@AtlantisDe
Joseph Musser
@jnm2
@AtlantisDe This chat room is for a specific extension to the DevExpress report designer. If you need help with anything more general, this place will get you the help you need: https://www.devexpress.com/Support/Center/
Denis Kharchenko
@itprodavets
Hi, how can i track table changes? (grouping, sorting, filter)
Joseph Musser
@jnm2
@itprodavets Hey, sorry... I have to point you to https://www.devexpress.com/Support/Center/ to find an answer for that. This chat room is for a modification to the DevExpress report designer, not for DevExpress products themselves.